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

STX: Difference between revisions

From SnesLab
Jump to: navigation, search
(Category load/store)
(linkify flags)
Line 26: Line 26:
!colspan="9"|Flags Affected
!colspan="9"|Flags Affected
|+
|+
|N
|[[Negative Flag|N]]
|V
|[[Overflow Flag|V]]
|M
|[[M Flag|M]]
|X
|[[X Flag|X]]
|D
|[[Decimal Flag|D]]
|I
|[[I Flag|I]]
|Z
|[[Zero Flag|Z]]
|C
|[[Carry Flag|C]]
|+
|+
|.
|.

Revision as of 04:17, 27 November 2023

Basic Info
Addressing Mode Opcode Length Speed
Absolute 8E 3 bytes 4 cycles*
Direct Page 86 2 bytes 3 cycles*
direct page indexed Y 96 2 bytes 4 cycles*
Flags Affected
N V M X D I Z C
. . . . . . . .

STX (Store X) is a 65x instruction that stores the value of the X index register.

Cycle Penalties

See Also

External Links