23 lines
210 B
ArmAsm
23 lines
210 B
ArmAsm
.text
|
|
.globl cmu~
|
|
.globl unknown~,cmu4~
|
|
|
|
cmu~:
|
|
cmp r0,$02
|
|
bne 3f
|
|
mov (sp)+,r1
|
|
clr r0
|
|
cmp (sp)+,(sp)+
|
|
beq 2f
|
|
bhi 1f
|
|
inc r0
|
|
br 2f
|
|
1:
|
|
dec r0
|
|
2:
|
|
jmp (r1)
|
|
3: cmp r0,$04
|
|
bne 2f
|
|
jmp cmu4~
|
|
2: jmp unknown~
|