We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
BGE (Super FX): Difference between revisions
From SnesLab
(created page) Tag: New redirect |
(Removed redirect, added proper description.) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
'''BGE''' (Branch if Greater or Equal) is a [[Super FX]] opcode that performs a jump if the [[negative flag]] is equal to the [[O/V]] flag, effectively checking for a signed greater-equal comparison (compare [[BCS]] which is an unsigned greater-equal comparison). | |||
{| class="wikitable" style="float:right;clear:right;width:40%" | |||
!colspan="8"|Basic Info | |||
|+ | |||
|'''Opcode''' | |||
|'''Length''' | |||
|'''ROM Speed''' | |||
|'''RAM Speed''' | |||
|'''Cache Speed''' | |||
|+ | |||
|07 | |||
|2 bytes | |||
|6 cycles | |||
|6 cycles | |||
|2 cycles | |||
|} | |||
{| class="wikitable" style="float:right;clear:right;width:30%" | |||
!colspan="9"|Flags Clobbered | |||
|+ | |||
|B | |||
|ALT1 | |||
|ALT2 | |||
|O/V | |||
|S | |||
|CY | |||
|Z | |||
|+ | |||
|0 | |||
|0 | |||
|0 | |||
|. | |||
|. | |||
|. | |||
|. | |||
|} | |||
=== See also === | |||
* [[BLT]] | |||
* [[BCS]] | |||
[[Category:ASM]] | |||
[[Category:Super FX]] | |||
[[Category:GSU Control Instructions]] |
Revision as of 09:39, 6 May 2023
BGE (Branch if Greater or Equal) is a Super FX opcode that performs a jump if the negative flag is equal to the O/V flag, effectively checking for a signed greater-equal comparison (compare BCS which is an unsigned greater-equal comparison).
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
07 | 2 bytes | 6 cycles | 6 cycles | 2 cycles |
Flags Clobbered | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |