Numark
Awesome Active Platinian
Step 1: Go to this site
Step 2: Once opening, find "Decimal Floating-Point".
Step 3: Beside that, type in the number you want through 1-2000.
Step 4: Click "Rounded" or "Not Rounded", it doesn't matter which is which. Just choose one.
Step 5: Find "Single precision (32 bits):", DO NOT USE THE 64 BIT!!
Step 6: Above "Single precision (32 bits):", you should find "Hexadecimal".
Step 7: you should now find the Hexadecimal, if the numbers or letters is not there, then you haven't done STEP 3 yet.
Step 8. You should see a 4 Byte Hexadecimal, copy the 4 Byte.
Example: I chose the number 100 and clicked "Not Rounded", I scrolled down and found "Hexadecimal" above "Single precision (32 bits):"
You should see the Hexadecimal that has letters or numbers. The number I chose 100 and the Hexadecimal for that is 42C8. After that, copy that Hexadecimal.
Step 9: After copying the Hexadecimal... Go to armconverter.com.
Step 10: Make sure the page is Arm To Hex.
Step 11: Choose the architecture of Armv7.
Step 12: Now go into the text box and type in "Movt r0, #0x42C8" and you should find the hex value for it.
Float 100 Value = C8 02 44 E3
Congratulations, you now have the hex value of float 100.
Make sure to BX LR after the value of float, or just in case to end function.
BX LR = 1E FF 2F E1
Both = C8 02 44 E3 1E FF 2F E1
Thank you for understanding and learning.
I hope that this tutorial will help you guys. :)
Armconverter: ARM To HEX Converter Online
Step 2: Once opening, find "Decimal Floating-Point".
Step 3: Beside that, type in the number you want through 1-2000.
Step 4: Click "Rounded" or "Not Rounded", it doesn't matter which is which. Just choose one.
Step 5: Find "Single precision (32 bits):", DO NOT USE THE 64 BIT!!
Step 6: Above "Single precision (32 bits):", you should find "Hexadecimal".
Step 7: you should now find the Hexadecimal, if the numbers or letters is not there, then you haven't done STEP 3 yet.
Step 8. You should see a 4 Byte Hexadecimal, copy the 4 Byte.
Example: I chose the number 100 and clicked "Not Rounded", I scrolled down and found "Hexadecimal" above "Single precision (32 bits):"
You should see the Hexadecimal that has letters or numbers. The number I chose 100 and the Hexadecimal for that is 42C8. After that, copy that Hexadecimal.
Step 9: After copying the Hexadecimal... Go to armconverter.com.
Step 10: Make sure the page is Arm To Hex.
Step 11: Choose the architecture of Armv7.
Step 12: Now go into the text box and type in "Movt r0, #0x42C8" and you should find the hex value for it.
Float 100 Value = C8 02 44 E3
Congratulations, you now have the hex value of float 100.
Make sure to BX LR after the value of float, or just in case to end function.
BX LR = 1E FF 2F E1
Both = C8 02 44 E3 1E FF 2F E1
Thank you for understanding and learning.
I hope that this tutorial will help you guys. :)
Armconverter: ARM To HEX Converter Online
Last edited: