15 lines
211 B
ArmAsm
15 lines
211 B
ArmAsm
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
.define .xor
|
|
|
|
! $Header$
|
|
|
|
! bytes in r0
|
|
.xor:
|
|
movl (sp)+,r2
|
|
addl3 r0,sp,r1
|
|
ashl $-2,r0,r0
|
|
I1:
|
|
xorl2 (sp)+,(r1)+
|
|
sobgtr r0,I1
|
|
jmp (r2)
|