chiark / gitweb /
do away with psave_w
authorian <ian>
Fri, 16 Dec 2005 23:02:37 +0000 (23:02 +0000)
committerian <ian>
Fri, 16 Dec 2005 23:02:37 +0000 (23:02 +0000)
detpic/panic.asm

index 4893fcc451bc56e08dc5278cf1124d9a6e60c236..ed3c8e46cc48961079c4d0b51b85d36ef82eb3d9 100644 (file)
@@ -35,7 +35,6 @@ t0l_count     res     1
 t0h_count      res     1
 
 psave_latc     res     1
-psave_w                res     1
 psave_t                res     1
 psave_tablat   res     1
 psave_tblptr   res     3
@@ -66,9 +65,7 @@ panic_routine
 
        mov_ff  LATC, psave_latc
 
-       mov_wf  psave_w
-
-; now we have time to copy the panic message address out of WREG
+; now we have time to save registers etc
 ; (turning off interrupts is urgent (we might get interrupted while
 ;  panicing which would be bad because we might forget to panic).