We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Derailment

From SnesLab
Revision as of 19:25, 20 August 2024 by Xetheria (talk | contribs) (flow BRK into body)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Derailment is a failure state the 65c816 can enter. Usually as the result of a programming error, derailment from the instruction stream occurs when the CPU misinterprets an operand byte as an opcode byte or vice versa.

To safely shut down the CPU, consider STP.

Zeroing memory can help mitigate derailment because accidentally running opcode 00h causes a BRK interrupt.

See Also

Reference