projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* device/lib/gbz80/crt0.s,
[fw/sdcc]
/
device
/
lib
/
z80
/
putchar.s
diff --git
a/device/lib/z80/putchar.s
b/device/lib/z80/putchar.s
index d10710aea994c0f8a649caddc902b92f6f013d4d..123f1f5e42208cf4485488ef2e6c7c9d5f7cc5b5 100644
(file)
--- a/
device/lib/z80/putchar.s
+++ b/
device/lib/z80/putchar.s
@@
-1,19
+1,19
@@
-
.area
CODE
-_putchar::
-_putchar_rr_s::
+
.area _
CODE
+_putchar::
+_putchar_rr_s::
ld hl,#2
add hl,sp
-
+
ld l,(hl)
ld a,#1
rst 0x08
-
+
ret
-
+
_putchar_rr_dbs::
ld l,e
- ld a,#1
+
ld a,#1
rst 0x08
ret
-
+