Fixed up support for the gbz80 such that it will at least run (and fail badly) the...
[fw/sdcc] / device / lib / gbz80 / 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