We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
BPL (SPC700): Difference between revisions
From SnesLab
(→See Also: BMI) |
(explained speed difference) |
||
Line 1: | Line 1: | ||
'''BPL''' (Branch Plus) is an [[SPC700]] instruction that performs a branch when the negative flag is clear. Note that zero is considered positive. | '''BPL''' (Branch Plus) is an [[SPC700]] instruction that performs a branch when the negative flag is clear. Note that zero is considered positive. | ||
{| 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: | ||
|10 | |10 | ||
|2 bytes | |2 bytes | ||
|2 | |when condition is false: 2 cycles | ||
when condition is true: 4 cycles | |||
|} | |} | ||
Revision as of 03:06, 13 July 2023
BPL (Branch Plus) is an SPC700 instruction that performs a branch when the negative flag is clear. Note that zero is considered positive.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
relative | 10 | 2 bytes | when condition is false: 2 cycles
when condition is true: 4 cycles |
Flags Clobbered | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . | . | . |
See Also
References
- Appendix C-8 of Book I of the official Super Nintendo development manual