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

XCE: Difference between revisions

From SnesLab
Jump to: navigation, search
(created page)
 
(added basic info)
Line 1: Line 1:
'''XCE''' is an instruction that exchanges the [[carry]] and [[emulation]] bits.  It typically appears soon after the [[Reset Vector]] following a [[CLC]], to switch the [[S-CPU]] into [[65c816 native mode]].
'''XCE''' is an instruction that exchanges the [[carry]] and [[emulation]] bits.  It typically appears soon after the [[Reset Vector]] following a [[CLC]], to switch the [[S-CPU]] into [[65c816 native mode]].
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Basic Info
|+
|'''Addressing Mode'''
|'''Opcode'''
|'''Length'''
|'''Speed'''
|+
|implied
|FB
|1 byte
|2 cycles
|}


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"

Revision as of 22:39, 30 April 2023

XCE is an instruction that exchanges the carry and emulation bits. It typically appears soon after the Reset Vector following a CLC, to switch the S-CPU into 65c816 native mode.

Basic Info
Addressing Mode Opcode Length Speed
implied FB 1 byte 2 cycles
Flags Clobbered
N V M X D I Z C E