ack/mach/m68020/libsys/_wait.s
1990-01-22 08:51:54 +00:00

16 lines
189 B
ArmAsm

.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