Closed coc-cyqh closed 2 years ago
This is also an issue with the C library. But PC is stuck at 0x60
. One thing I noticed is that A11
was updated with the correct PC value, which according to ABI/ISA manuals is the return address for a function call i.e. after ever instruction the link register is updated to current PC.
I found that A11
register was only updated when emu_start
was given until
and count
= 0
. I guess that A11
was assigned the value of unitl
. And it is not helpful for me. I want to execute my tricore code step by step. But I can not know the address of next instruction because of the instruction size and jump instruction.
Closed due to PR merged.
After mu.emu_start, pc is 0x4000 but should be 0x4008.