ceda-demo/src/io_a.asm

19 lines
206 B
NASM
Raw Normal View History

2023-10-13 07:44:39 +00:00
SECTION code
PUBLIC _io_out
_io_out:
push ix
ld ix,$0000
add ix,sp
push bc
ld c,(ix+$04)
ld b,(ix+$05)
out (c),b
pop bc
pop ix
ret