We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
BBC (SPC700): Difference between revisions
From SnesLab
(fixed self-redirect) |
(explained speed difference) |
||
Line 1: | Line 1: | ||
'''BBC''' (Branch on Bit Clear) is an [[SPC700]] instruction that performs a branch when the [[direct page flag]] is clear. | '''BBC''' (Branch on Bit Clear) is an [[SPC700]] instruction that performs a branch when the [[direct page flag]] is clear. | ||
{| class="wikitable" style="float:right;clear:right;width: | {| class="wikitable" style="float:right;clear:right;width:40%" | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
|+ | |+ | ||
Line 12: | Line 12: | ||
|y3 | |y3 | ||
|3 byte | |3 byte | ||
|5 | |when condition is false: 5 cycles | ||
when condition is true: 7 cycles | |||
|} | |} | ||
Revision as of 03:08, 13 July 2023
BBC (Branch on Bit Clear) is an SPC700 instruction that performs a branch when the direct page flag is clear.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
y3 | 3 byte | when condition is false: 5 cycles
when condition is true: 7 cycles |
Flags Clobbered | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . | . | . |
See Also
External Links
- Official Super Nintendo development manual on BBC: Appendix C-8 of Book I