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
(fixed description) |
(added all opcodes) |
||
Line 8: | Line 8: | ||
|+ | |+ | ||
| | | | ||
| | |12 | ||
|2 bytes | |||
|4 cycles | |||
|+ | |||
| | |||
|32 | |||
|2 bytes | |||
|4 cycles | |||
|+ | |||
| | |||
|52 | |||
|2 bytes | |||
|4 cycles | |||
|+ | |||
| | |||
|72 | |||
|2 bytes | |||
|4 cycles | |||
|+ | |||
| | |||
|92 | |||
|2 bytes | |||
|4 cycles | |||
|+ | |||
| | |||
|B2 | |||
|2 bytes | |||
|4 cycles | |||
|+ | |||
| | |||
|D2 | |||
|2 bytes | |||
|4 cycles | |||
|+ | |||
| | |||
|F2 | |||
|2 bytes | |2 bytes | ||
|4 cycles | |4 cycles |
Revision as of 05:07, 23 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
12 | 2 bytes | 4 cycles | |||||
32 | 2 bytes | 4 cycles | |||||
52 | 2 bytes | 4 cycles | |||||
72 | 2 bytes | 4 cycles | |||||
92 | 2 bytes | 4 cycles | |||||
B2 | 2 bytes | 4 cycles | |||||
D2 | 2 bytes | 4 cycles | |||||
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
- Official Nintendo documentation on CLR1: Appendix C-9 of Book I