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
Jump to: navigation, search
(made basic info table shorter)
(fixed description)
Line 35: Line 35:
|}
|}


'''SET1''' is an [[SPC700]] command that sets the [[direct page flag]].
'''SET1''' is an [[SPC700]] command that sets 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 ===
=== See Also ===
Line 42: Line 42:
=== External Links ===
=== External Links ===
* Official Nintendo documentation on SET1: [https://archive.org/details/SNESDevManual/book1/page/n234 Appendix C-9 of Book I]
* Official Nintendo documentation on SET1: [https://archive.org/details/SNESDevManual/book1/page/n234 Appendix C-9 of Book I]
* http://www.ffviman.fr/switch-snes/sf-sound.html


[[Category:ASM]]
[[Category:ASM]]
[[Category:SPC700]]
[[Category:SPC700]]
[[Category:Bit Operation Commands]]
[[Category:Bit Operation Commands]]

Revision as of 20:15, 22 July 2023

Basic Info
Addressing Mode Opcode Length Speed
x2 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 high nibble of the opcode determines which bit within that byte.

See Also

External Links