Jump to content

Need help offset, I'm having a problem converting arm to hex


Go to solution Solved by busmanl30,

2 posts in this topic

Recommended Posts

Posted (edited)

before that, the original code transferred from  VLDR            S2, =0.01 convert to hex is 17 1A 9F ED
but now i don't know how to convert this to hex code with values other than 0.01 like 0.07 0.08 ... or less. 
image
I used https://armconverter.com/  to convert try VLDR S2, =0.05 but it doesn't work. i want to convert the values 0.02-0.1
Please someone guide me to convert this code. Thanks

 

Updated by anhdd
I'm missing a few things, hope you understand
  • Solution
Posted (edited)
On 10/29/2021 at 10:03 AM, anhdd said:

before that, the original code transferred from  VLDR            S2, =0.01 convert to hex is 17 1A 9F ED
but now i don't know how to convert this to hex code with values other than 0.01 like 0.07 0.08 ... or less. 
image
I used https://armconverter.com/  to convert try VLDR S2, =0.05 but it doesn't work. i want to convert the values 0.02-0.1
Please someone guide me to convert this code. Thanks

You can only convert whole numbers, you can possible try dividing instead

Updated by Rook

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines