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: Difference between revisions

From SnesLab
Jump to: navigation, search
(Interrupt disable flag)
Line 44: Line 44:
* [[SLEEP]]
* [[SLEEP]]
* [[BE]]
* [[BE]]
* [[Interrupt Disable Flag]]
* [[SEI]]
* [[CLI]]


=== External Links ===
=== External Links ===

Revision as of 10:51, 14 December 2023

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