ack/mach/z80/libem/str.s

28 lines
251 B
ArmAsm
Raw Permalink Normal View History

1985-03-29 21:44:50 +00:00
.define .strhp
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
.strhp:
pop ix
pop hl
push hl
or a
sbc hl,sp
jp m,1f
pop hl
push hl
ld a,l
rra
jp c,1f
pop hl
ld (.reghp),hl
jp (ix)
1:
pop hl
ld hl,EHEAP
call .trp.z
jp (ix)