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

XBA: Difference between revisions

From SnesLab
Jump to: navigation, search
(type 1 admode)
(linkify Implied)
Line 7: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|implied (type 1)
|[[Implied]] (type 1)
|EB
|EB
|1 byte
|1 byte
Line 14: Line 14:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Flags Clobbered
!colspan="8"|Flags Affected
|+
|+
|N
|N

Revision as of 21:07, 23 July 2023

Basic Info
Addressing Mode Opcode Length Speed
Implied (type 1) EB 1 byte 3 cycles
Flags Affected
N V M X D I Z C
. . . . . .

XBA is an instruction that exchanges the high byte (B) and low byte (typically called A) of the C accumulator. It works even in 6502 emulation mode. In 65816 native mode, its mnemonic is still "XBA" even when the accumulator is 16-bits wide.

See Also

External Links