]> git.gag.com Git - fw/sdcc/blob - device/lib/z80/putchar.s
* device/lib/Makefile.in, device/lib/ds390/Makefile.in,
[fw/sdcc] / device / lib / z80 / putchar.s
1         .area   _CODE
2 _putchar::
3 _putchar_rr_s::
4         ld      hl,#2
5         add     hl,sp
6
7         ld      l,(hl)
8         ld      a,#1
9         rst     0x08
10
11         ret
12
13 _putchar_rr_dbs::
14         ld      l,e
15         ld      a,#1
16         rst     0x08
17
18         ret
19