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

Absolute Boolean Bit Addressing

From SnesLab
Jump to: navigation, search

Absolute Boolean Bit is used on the SPC700 by some three-byte instructions to address individual bits:

The bottom 13 bits of a 16-bit value specify an absolute address, while the top 3 bits specify which bit within the byte stored at that address. The greatest address these instructions can affect is 1FFFh.

Syntax

AND1 C, mem. bit
AND1 C, /mem. bit
OR1 C, mem. bit
OR1 C, /mem. bit
EOR1 C, mem. bit
MOV1 C, mem. bit
MOV1 mem. bit, C
NOT1 mem. bit

See Also

References