ack/mach/pmds/libsys/wait.s

19 lines
205 B
ArmAsm
Raw Permalink Normal View History

1985-02-07 15:58:40 +00:00
.define _wait
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-02-07 15:58:40 +00:00
.extern _wait
_wait: trap #0
.data2 0x7
1985-02-07 15:58:40 +00:00
bcc 1f
jmp cerror
1:
tst.l 4(sp)
beq 2f
move.l 4(sp),a0
move.w d1,(a0)
2:
rts