This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is it possible to step through disassembly?

Hia,

I want to step through my c code, disassembly line by disassembly line. I've tried using F11/step into but this results in: the 'next statement' arrow jumping to a a line in the disassembly which is not the line directly after it is pointing. I appreciate this would be expected if it was a branching instruction, but its not,its a series of LDR insturctions

To be specific its:

0x000307C 4834 LDR r0[pc,#148] ;0x0003114

Which to my limited understanding of assmebly should load registe 0 with the value in the address offset from the program counter by 208 spaces.

What happens instead when I F11 is a branch to 0x0003042 and both R0 and R1 getting updated.

According to my understanding, that may because pressing F11 results in the debugger stepping through a single line of C code, or into a function if its already pointing at a function.

So is there an equivalent for going through disassembly in detail? Am I misunderstanding something here?

Any help appreciated

Parents Reply Children
No data