16 lines
189 B
ArmAsm
16 lines
189 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
|