ack/mach/mantra/libsys/time.s
1987-02-02 10:25:38 +00:00

16 lines
186 B
ArmAsm

.define _time
.extern _time
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
_time: move.l #0xD,d0
trap #0
tst.l 4(sp)
beq 1f
move.l 4(sp),a0
move.l d0,(a0)
1:
rts