Renesas/Hitachi M32R
Assembler code
P:000000C0 ; ===========================================================================
P:000000C0
P:000000C0 ; Segment type: Pure code
P:000000C0 .section P
P:000000C0
P:000000C0 ; =============== S U B R O U T I N E =======================================
P:000000C0
P:000000C0
P:000000C0 sub_C0:
P:000000C0 addi sp, #-0x20 || nop
P:000000C4 seth R0, #0x3F80
P:000000C8 or3 R0, R0, #0
P:000000CC st R0, @(0x1C, sp)
P:000000D0 seth R0, #0x4000
P:000000D4 or3 R0, R0, #0
P:000000D8 st R0, @(0x18, sp)
P:000000DC ld R0, @(0x1C, sp)
P:000000E0 ld R1, @(0x18, sp)
P:000000E4 fadd R0, R0, R1
P:000000E8 seth R1, #0x4000
P:000000EC or3 R1, R1, #0
P:000000F0 fdiv R0, R0, R1
P:000000F4 st R0, @(0x14, sp)
P:000000F8 ld R0, @(0x14, sp)
P:000000FC ld R1, @(0x18, sp)
P:00000100 ld R2, @(0x1C, sp)
P:00000104 fmul R1, R1, R2
P:00000108 fsub R0, R0, R1
P:0000010C st R0, @(0x10, sp)
P:00000110 ld R0, @(0x10, sp)
P:00000114 ftoi R0, R0
P:00000118 st R0, @(0xC, sp)
P:0000011C ld R0, @(0xC, sp)
P:00000120 srai R0, #2 || nop
P:00000124 itof R0, R0
Last updated