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

REP: Difference between revisions

From SnesLab
Jump to: navigation, search
(added '816 additions category)
(replaced wrong opcode with flag clobber table)
Line 16: Line 16:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Basic Info
!colspan="9"|Flags Clobbered
|+
|+
|'''Addressing Mode'''
|N
|'''Opcode'''
|V
|'''Length'''
|M
|'''Speed'''
|X
|D
|I
|Z
|C
|+
|+
|implied
|
|78
|
|1 byte
|
|2 cycles
|
|
|
|
|
|}
|}



Revision as of 06:38, 4 May 2023

REP is a 65c816 instruction that clears bits in the status register that correspond to set bits in the operand.

Basic Info
Addressing Mode Opcode Length Speed
immediate C2 2 bytes 3 cycles
Flags Clobbered
N V M X D I Z C

See Also