Help! Fractional Float Values to ARM

Lesteriax

Platinian
Original poster
Aug 19, 2020
6
0
1
35
USA
There is a game using float values that are 0.15, 0.25 and 0.35. I'm trying to return the hex for those then use the arm converter to turn them into bytes. Here is what is happening

Converting to hex (Little indian) gives me: 0x00007041, but when converting this hex back to integer, it gives me 15 as a result

I did the following:
ASM = MOV R0, 0x00007041
ARM = 41 00 07 E3

I used that in a game and it did not give the required output of 0.15.

Please advise