Is it just me, or can't you debug your own asm-code?
I have a toy project and I've written some asm-code which I've assembled using armasm. The code executes fine, but I can't trace into the code.
Even if I put a breakpoint onto the call (from a c-module), switch to the disassembly view and trace the branch-instruction the debugger just "jumps" over the call.
When I trace into disassembled functions compiled by the c-compiler it works as expected.
My asm-code looks somewhat like this. Have I done something stupid?
The code gets compiled using:
armasm -CPU XSCALE -32 blah.asm blah.obj
I have a toy project and I've written some asm-code which I've assembled using armasm. The code executes fine, but I can't trace into the code.
Even if I put a breakpoint onto the call (from a c-module), switch to the disassembly view and trace the branch-instruction the debugger just "jumps" over the call.
When I trace into disassembled functions compiled by the c-compiler it works as expected.
My asm-code looks somewhat like this. Have I done something stupid?
- Code:
CODE32
EXPORT TestFunc
AREA |.text|, CODE, ARM
TestFunc PROC
; do stuff
mov pc, lr
ENDP
END
The code gets compiled using:
armasm -CPU XSCALE -32 blah.asm blah.obj