We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
SET1 (SPC700): Difference between revisions
From SnesLab
(→External Links: section 8.2.3.1) |
(bit 4 is always 0) |
||
Line 70: | Line 70: | ||
|} | |} | ||
'''SET1''' is an [[SPC700]] command that sets a bit in a [[direct page]] byte. The byte following the opcode determines which byte. The | '''SET1''' is an [[SPC700]] command that sets 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 === | === See Also === |
Revision as of 07:44, 18 December 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Direct Page | 02 | 2 bytes | 4 cycles | ||||
Direct Page | 22 | 2 bytes | 4 cycles | ||||
Direct Page | 42 | 2 bytes | 4 cycles | ||||
Direct Page | 62 | 2 bytes | 4 cycles | ||||
Direct Page | 82 | 2 bytes | 4 cycles | ||||
Direct Page | A2 | 2 bytes | 4 cycles | ||||
Direct Page | C2 | 2 bytes | 4 cycles | ||||
Direct Page | E2 | 2 bytes | 4 cycles |
Flags Affected | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . | . | . |
SET1 is an SPC700 command that sets 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
- Official Nintendo documentation on SET1: Table C-18 in Appendix C-9 of Book I
- section 8.2.3.1 of page 3-8-8, lbid.
- http://www.ffviman.fr/switch-snes/sf-sound.html