diff --git a/notes/notes.txt b/notes/notes.txt index 9afd53a..3f7c05f 100644 --- a/notes/notes.txt +++ b/notes/notes.txt @@ -108,6 +108,11 @@ e01-06 - "mov $sysret1,(sp)" has written correction for "-(sp)". Using -------------------- +e02-03 + - "mov $rtssym,*30" in sysexec is incorrect. It overwrites + the first byte of the rtssym function with the rtssym address. + It should read "move $rtssym,30" which writes the address of + rtssym to the trap vector. e02-05 - label "1:" is overstruck with "/" in the listing. leaving the label in place. Should be reviewed for semantic meaning. diff --git a/pages/e02-03 b/pages/e02-03 index 5e79e5d..25902a5 100644 --- a/pages/e02-03 +++ b/pages/e02-03 @@ -1,6 +1,6 @@ mov $1,u.intr / u.intr determines handling of interrupts; / u.intr = 1 take interrupt - mov $rtssym,*30 / emt trap vector set to take system routine + mov $rtssym,30 / emt trap vector set to take system routine mov $fpsym,*10 / reserved instruction trap vector set to take / system routine mov $sstack,sp / stack space used during swapping