This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Jump to show c source based on code address.



In CCS 6.1.1 can I jump to a line of C code based on an address that I type in (or paste)?

(C64+)

I can paste the address into the disassembly window. This shows a mix of assembly and source at the address I have entered. I can then text search for a line of source in my project.

Is there an easier way to do this? I don't mind if it involves moving the current PC to the address in the dissasembly, if that helps. I do not need to carry on code execution.

Just to clarify, how do I find the C source line for an arbitrary address, eg 0x123456

  • William Bagshaw said:
    Is there an easier way to do this? I don't mind if it involves moving the current PC to the address in the dissasembly, if that helps. I do not need to carry on code execution.

    After you are at the desired address in the disassembly view, you can right-click on the line and choose "Move to Line" (just set PC to that address) or "Run to Line" (execute code until that line). Does that give you what you are looking for?