ack/plat/cpm/libsys/bios_conout.s

22 lines
214 B
ArmAsm
Raw Normal View History

#
#include "asm.h"
.define _bios_conout
_bios_conout:
pop h ! pop return address
pop d ! pop parameter into DE
push d
push h
push b
mov c, e
lhld 1
lxi d, 9
dad d
call .pchl
pop b
ret