 Question:
How do you set breakpoints in ROM ?
Answer: The regular break-points you use with the emulator (BA command or clicking
the mouse left button in the line) are " software breakpoints ". They are
implemented by replacing the instruction with a SWI instruction ( emulation interrupt ).
Because the emulator needs to " replace (write) " the SWI instruction in memory,
software breakpoints are only possible in RAM memories. |