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
(superscripted) |
(→References: fixed page number) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
{| class="wikitable" style="float:right;clear:right;width:30%" | {| class="wikitable" style="float:right;clear:right;width:30%" | ||
!colspan="9"|Flags | !colspan="9"|Flags Affected | ||
|+ | |+ | ||
|B | |B | ||
|ALT1 | |[[ALT1]] | ||
|ALT2 | |[[ALT2]] | ||
|O/V | |[[O/V]] | ||
|S | |S | ||
|CY | |[[CY]] | ||
|Z | |Z | ||
|+ | |+ | ||
Line 46: | Line 46: | ||
# Official Nintendo dev manual on BGE: [https://archive.org/details/SNESDevManual/book2/page/n176 Page 2-9-20 of Book II] | # Official Nintendo dev manual on BGE: [https://archive.org/details/SNESDevManual/book2/page/n176 Page 2-9-20 of Book II] | ||
# https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc | # https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc | ||
# example: [https://archive.org/details/SNESDevManual/book2/page/n177 page 2-9-21], lbid. | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Super FX]] | [[Category:Super FX]] | ||
[[Category:GSU Control Instructions]] | [[Category:GSU Control Instructions]] |
Latest revision as of 01:07, 11 December 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
07 | 2 bytes | 6 cycles | 6 cycles | 2 cycles |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |
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).
According to fullsnes, the official documentation has BGE exchanged with BLT. [2]
See also
References
- Official Nintendo dev manual on BGE: Page 2-9-20 of Book II
- https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc
- example: page 2-9-21, lbid.