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

CLR1 (SPC700): Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎See Also: TCLR1)
(dp admodes)
Line 7: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|12
|12
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|32
|32
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|52
|52
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|72
|72
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|92
|92
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|B2
|B2
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|D2
|D2
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|F2
|F2
|2 bytes
|2 bytes

Revision as of 19:13, 23 July 2023

Basic Info
Addressing Mode Opcode Length Speed
Direct Page 12 2 bytes 4 cycles
Direct Page 32 2 bytes 4 cycles
Direct Page 52 2 bytes 4 cycles
Direct Page 72 2 bytes 4 cycles
Direct Page 92 2 bytes 4 cycles
Direct Page B2 2 bytes 4 cycles
Direct Page D2 2 bytes 4 cycles
Direct Page F2 2 bytes 4 cycles
Flags Clobbered
N V P B H I Z C
. . . . . . . .

CLR1 is an SPC700 command that clears a bit in a direct page byte. The byte following the opcode determines which byte. The high nibble of the opcode determines which bit within that byte.

See Also

External Links