z80: shave off a few bytes
authorAlan Cox <alan@linux.intel.com>
Wed, 8 Nov 2017 15:50:59 +0000 (15:50 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 8 Nov 2017 15:50:59 +0000 (15:50 +0000)
Kernel/lowlevel-z80.s

index 44dfc14..db3cfac 100644 (file)
@@ -339,13 +339,10 @@ illegalmsg: .ascii "[illegal]"
 
 trap_illegal:
         ld hl, #illegalmsg
+traphl:
         call outstring
         call _trap_monitor
 
-dpsmsg: .ascii "[dispsig]"
-        .db 13, 10, 0
-
-
 nmimsg: .ascii "[NMI]"
         .db 13,10,0
 
@@ -355,8 +352,7 @@ nmi_handler:
        .endif
        call map_kernel
         ld hl, #nmimsg
-        call outstring
-        jp _trap_monitor
+       jr traphl
 
 ;
 ;      Interrupt handler. Not quite the same as syscalls, we need to