Msg/IntrClobberedRA

From CPUlator Wiki

< Msg
Revision as of 06:17, 10 March 2019 by Henry (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

An interrupt should normally return to the instruction that was interrupted. This message tells you that this didn't happen: the function return is returning somewhere other than the interrupt instruction.


Debugging

See Msg/ClobberedRA, which is a similar warning for functions.

Implementation

The simulator identifies interrupts and return-from-interrupt instructions executed at runtime. It records the values of registers at interrupts, and verifies that return address of the interrupt return. This warning is generated at the interrupt return instruction.

Disabling this message

This debugging check can be disabled in the Debugging Checks section of the Settings box: Interrupt clobbered ea, ra, sp, or a ctl reg.

ARMv7: Interrupt clobbered sp or spsr, or bad return