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

BBS (SPC700): Difference between revisions

From SnesLab
Jump to: navigation, search
(improve description)
(dp admode)
Line 7: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|03
|03
|3 bytes
|3 bytes
Line 13: Line 13:
when condition true: 7 cycles
when condition true: 7 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|23
|23
|3 bytes
|3 bytes
Line 19: Line 19:
when condition true: 7 cycles
when condition true: 7 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|43
|43
|3 bytes
|3 bytes
Line 25: Line 25:
when condition true: 7 cycles
when condition true: 7 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|63
|63
|3 bytes
|3 bytes
Line 31: Line 31:
when condition true: 7 cycles
when condition true: 7 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|83
|83
|3 bytes
|3 bytes
Line 37: Line 37:
when condition true: 7 cycles
when condition true: 7 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|A3
|A3
|3 bytes
|3 bytes
Line 43: Line 43:
when condition true: 7 cycles
when condition true: 7 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|C3
|C3
|3 bytes
|3 bytes
Line 49: Line 49:
when condition true: 7 cycles
when condition true: 7 cycles
|+
|+
|
|[[Direct Page Addressing | Direct Page]]
|E3
|E3
|3 bytes
|3 bytes

Revision as of 17:02, 24 July 2023

Basic Info
Addressing Mode Opcode Length Speed
Direct Page 03 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Direct Page 23 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Direct Page 43 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Direct Page 63 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Direct Page 83 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Direct Page A3 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Direct Page C3 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Direct Page E3 3 bytes when condition false: 5 cycles

when condition true: 7 cycles

Flags Clobbered
N V P B H I Z C
. . . . . . . .

BBS (Branch on Bit Set) is an SPC700 instruction that performs a branch when a bit in the direct page is set. The direct page byte that bit lives in is the first operand. The bit within that byte is a function of the high nibble of the opcode. The target relative address to jump to is the second operand.

See Also

References