摘要 |
A data processor 100 has embedded debug circuitry 130 to send debug information to an external debugger 150. The processor can execute instructions from several different instruction sets. These instruction sets may be of different bit widths. When entering a debug mode, the instruction set is chosen based on the current operating state of the processor. The embedded debug circuitry may inform the debugger of the current instruction set. Alternatively, the debugger may read the bit width from the processor and determine the instruction set using the bit width. The processor may operate in various privilege modes with different address translation rules. The processor may update the current instruction set when changing privilege level and inform the debugger of the change. |