14 lines
176 B
ArmAsm
14 lines
176 B
ArmAsm
|
.define __alarm
|
||
|
.sect .text
|
||
|
.sect .rom
|
||
|
.sect .data
|
||
|
.sect .bss
|
||
|
.extern __alarm
|
||
|
.sect .text
|
||
|
__alarm: clr.l d0
|
||
|
move.w 4(sp),d0
|
||
|
move.l d0,a0
|
||
|
move.w #0x1B,d0
|
||
|
trap #0
|
||
|
rts
|