ack/mach/z80/libem/gto.s

28 lines
285 B
ArmAsm
Raw Normal View History

1985-03-29 21:44:50 +00:00
.define .gto
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
.gto:
ld e,(hl)
inc hl
ld d,(hl)
push de
pop ix ! new pc
inc hl
ld e,(hl)
inc hl
ld d,(hl) ! new sp
inc hl
ld c,(hl)
inc hl
ld b,(hl) ! new lb
push bc
pop iy
push de
pop hl
ld sp,hl
jp (ix)