before the code copied to RAM, the ASM code can be parsed to instruction.
After copy the code to RAM, it can't be parsed to the same instruction.
Can you help me to fix this issue?
Thanks in advance.
e_bl is relative jump instruction, not absolute:
CIA is the Current Instruction Address. If you write asm code, you can use label or immediate sign-extended number. For example:
If the code is already compiled and you watch it by debugger, debugger will translate it to absolute address. If you move the instruction to another address, debugger will show you updated absolute address. You can check the opcode and you will see that it is still the same. It's just about debugger interpretation of instruction.
Thanks for your reply.
I forgot to tell you the compiler is ghs.
My colleague add a compiler option and it works:
Retrieving data ...