ack/mach/m68k2/libsys/_wait.s

18 lines
221 B
ArmAsm
Raw Normal View History

1990-01-22 10:54:12 +00:00
.define __wait
.sect .text
.sect .rom
.sect .data
.sect .bss
.extern __wait
.sect .text
__wait: move.w #0x7,d0
move.l 4(sp),a0
trap #0
bcs cerror
tst.l 4(sp)
beq 1f
move.l 4(sp),a0
move.w d1,(a0)
1:
rts