ack/mach/m68020/libsys/wait.s

16 lines
186 B
ArmAsm
Raw Normal View History

1987-01-29 22:36:35 +00:00
.define _wait
.extern _wait
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
_wait: move.l #0x7,d0
trap #0
bcs cerror
tst.l (4,sp)
beq 1f
move.l d1,([4,sp])
1:
rts