We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
BCS (SPC700): Difference between revisions
From SnesLab
(added link to official dev manual) |
(explained speed difference) |
||
Line 1: | Line 1: | ||
'''BCS''' is an [[SPC700]] instruction that performs a branch when the carry flag is set. | '''BCS''' is an [[SPC700]] instruction that performs a branch when the carry flag is set. | ||
{| 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: | ||
|B0 | |B0 | ||
|2 bytes | |2 bytes | ||
|2 | |when condition false: 2 cycles | ||
when condition true: 4 cycles | |||
|} | |} | ||
Revision as of 02:55, 13 July 2023
BCS is an SPC700 instruction that performs a branch when the carry flag is set.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
relative | B0 | 2 bytes | when condition false: 2 cycles
when condition true: 4 cycles |
Flags Clobbered | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . | . | . |
See Also
External Links
- Official Super Nintendo development manual on BCS: Appendix C-8 of Book I