From: Alan Cox Date: Tue, 13 Sep 2016 21:03:24 +0000 (+0100) Subject: lowlevel-z80: save a few bytes (it matters) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b48ddf8771aeb9509a5392b4989b7fcfd22aec94;p=FUZIX.git lowlevel-z80: save a few bytes (it matters) --- diff --git a/Kernel/lowlevel-z80.s b/Kernel/lowlevel-z80.s index 199668a1..cc4a65a1 100644 --- a/Kernel/lowlevel-z80.s +++ b/Kernel/lowlevel-z80.s @@ -316,7 +316,7 @@ null_handler: -illegalmsg: .ascii "[trap_illegal]" +illegalmsg: .ascii "[illegal]" .db 13, 10, 0 trap_illegal: @@ -581,8 +581,7 @@ outnewline: ld a, #0x0d ; output newline call outchar ld a, #0x0a - call outchar - ret + jp outchar outhl: ; prints HL in hex. push af