d082a2b0a2
setl was just plain wrong
14 lines
147 B
ArmAsm
14 lines
147 B
ArmAsm
.text
|
|
.globl dvf~
|
|
.globl setfloat~
|
|
|
|
dvf~:
|
|
mov (sp)+,r1
|
|
jsr pc,setfloat~
|
|
movf (sp)+,r0
|
|
movf (sp)+,r1
|
|
divf r0,r1
|
|
movf r1,-(sp)
|
|
setd
|
|
jmp (r1)
|