| |||
Home > Debug Interface > Determining the Core and System State |
When ARM7DMT is in debug state, the core and system’s state may be examined. This is done by forcing load and store multiples into the instruction pipeline.
Before the core and system state can be examined, the debugger must first determine whether the processor was in THUMB or ARM state when it entered debug. This is achieved by examining bit 4 of EmbeddedICE’s Debug Status Register. If this is HIGH, the core was in THUMB state when it entered debug.