20 lines
283 B
ArmAsm
20 lines
283 B
ArmAsm
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
.sect .text
|
|
.define dvu~
|
|
.extern unknown~,dvu4~,dvu2~
|
|
! $Header$
|
|
|
|
dvu~:
|
|
mov (sp)+,r3
|
|
cmp r0,$04
|
|
bgt 1f
|
|
beq 2f
|
|
jsr pc,dvu2~
|
|
mov r0,-(sp)
|
|
br 3f
|
|
2: jsr pc,dvu4~
|
|
mov r1,-(sp)
|
|
mov r0,-(sp)
|
|
3: jmp (r3)
|
|
1: jmp unknown~
|