0

Working with ASM code, bit I don't understand what does is the difference between these lines?

VLDR            S0, [R5]
VLDR            S2, [R5,#4]

What is the meaning of #4?

1

1 Answer 1

1
VLDR            S0, [R5]

Load single-precision extension register S0. R5 is the ARM register with the base address for the transfer.

VLDR            S2, [R5,#4]

Load single-precision extension register S2. R5 is the ARM register with the base address for the transfer; however we will be adding the numeric offset (#4) to the base address R5 to get the address used for the transfer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.