18 lines
214 B
ArmAsm
18 lines
214 B
ArmAsm
|
.sect .text; .sect .rom; .sect .data; .sect .bss
|
||
|
.sect .text
|
||
|
.define __pipe
|
||
|
pipe = 42
|
||
|
|
||
|
.align 1
|
||
|
__pipe:
|
||
|
.data2 0x0000
|
||
|
chmk $pipe
|
||
|
bcc 1f
|
||
|
jmp errmon
|
||
|
1:
|
||
|
movl 4(ap),r2
|
||
|
movl r0,(r2)+
|
||
|
movl r1,(r2)
|
||
|
clrl r0
|
||
|
ret
|