ack/mach/z80/libem/sdf.s

26 lines
287 B
ArmAsm
Raw Permalink Normal View History

1985-03-29 21:44:50 +00:00
.define .sdf
1987-02-02 13:30:20 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-03-29 21:44:50 +00:00
! store double offsetted
.sdf:
pop bc
push bc !test
pop ix ! return address
pop hl ! address
add hl,de
pop bc
ld (hl),c
inc hl
ld (hl),b
inc hl
pop bc
ld (hl),c
inc hl
ld (hl),b
jp (ix) ! return