ack/mach/pmds4/libsys/wait.s

14 lines
147 B
ArmAsm
Raw Normal View History

1985-02-07 22:59:50 +00:00
.define _wait
.extern _wait
_wait: trap #0
.short 0x7
bcc 1f
jmp cerror
1:
tst.l 4(sp)
beq 2f
move.l 4(sp),a0
move.l d1,(a0)
2:
rts