8.9. 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.

ARM or THUMB state

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.

Copyright © 1997, 1998 ARM Limited. All rights reserved.DDI 0087E
Non-Confidential