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

WAI

From SnesLab
Revision as of 10:51, 14 December 2023 by Jeffythedragonslayer (talk | contribs) (Interrupt disable flag)
Jump to: navigation, search
Basic Info
Addressing Mode Opcode Length Speed
Implied (type 3) CB 1 byte 3 cycles
Flags Affected
N V M X D I Z C
. . . . . . . .

WAI (WAit for Interrupt) is a 65x instruction that waits until an interrupt is received. The processor consumes less power while waiting. The RDY pin is pulled low during the third cycle. The interrupt is serviced immediately.

See Also

External Links