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
(bit 4 is always 1)
(more correct admode name)
Line 7: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|12
|12
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|32
|32
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|52
|52
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|72
|72
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|92
|92
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|B2
|B2
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|D2
|D2
|2 bytes
|2 bytes
|4 cycles
|4 cycles
|+
|+
|[[Direct Page Addressing | Direct Page]]
|[[Direct Page Bit Addressing | Direct Page Bit]]
|F2
|F2
|2 bytes
|2 bytes

Revision as of 07:49, 18 December 2023

Basic Info
Addressing Mode Opcode Length Speed
Direct Page Bit 12 2 bytes 4 cycles
Direct Page Bit 32 2 bytes 4 cycles
Direct Page Bit 52 2 bytes 4 cycles
Direct Page Bit 72 2 bytes 4 cycles
Direct Page Bit 92 2 bytes 4 cycles
Direct Page Bit B2 2 bytes 4 cycles
Direct Page Bit D2 2 bytes 4 cycles
Direct Page Bit F2 2 bytes 4 cycles
Flags Affected
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 most significant 3 bits of the opcode determines which bit within that byte.

See Also

External Links