public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b74f5d
)
lowlevel-z80: save a few bytes (it matters)
author
Alan Cox
<alan@linux.intel.com>
Tue, 13 Sep 2016 21:03:24 +0000
(22:03 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 13 Sep 2016 21:03:24 +0000
(22:03 +0100)
Kernel/lowlevel-z80.s
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-z80.s
b/Kernel/lowlevel-z80.s
index
199668a
..
cc4a65a
100644
(file)
--- 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