We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

BLT (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(created page)
Tag: New redirect
 
(→‎See also: capitalize)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#redirect [[BCC]]
{| class="wikitable" style="float:right;clear:right;width:40%"
!colspan="8"|Basic Info
|+
|'''Opcode'''
|'''Length'''
|'''ROM Speed'''
|'''RAM Speed'''
|'''Cache Speed'''
|+
|06
|2 bytes
|6 cycles
|6 cycles
|2 cycles
|}
 
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="9"|Flags Affected
|+
|B
|[[ALT1]]
|[[ALT2]]
|[[O/V]]
|S
|[[CY]]
|Z
|+
|0
|0
|0
|.
|.
|.
|.
|}
 
'''BLT''' (Branch if Less Than) is a [[Super FX]] opcode that performs a jump if the [[negative flag]] is unequal to the [[O/V]] flag, effectively checking for a signed less-than comparison (compare [[BCC]] which is an unsigned less-than comparison).
 
According to [[fullsnes]], the official documentation has BLT exchanged with [[BGE]]. <sup>[2]</sup>
 
=== See also ===
* [[BGE]]
* [[BCC (Super FX)]]
 
=== External Links ===
# Official Nintendo documentation on BLT: [https://archive.org/details/SNESDevManual/book2/page/n180 Page 2-9-24 of Book II]
# https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc
# example: [https://archive.org/details/SNESDevManual/book2/page/n181 page 2-9-25], lbid.
 
[[Category:ASM]]
[[Category:Super FX]]
[[Category:GSU Control Instructions]]

Latest revision as of 01:11, 11 December 2023

Basic Info
Opcode Length ROM Speed RAM Speed Cache Speed
06 2 bytes 6 cycles 6 cycles 2 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

BLT (Branch if Less Than) is a Super FX opcode that performs a jump if the negative flag is unequal to the O/V flag, effectively checking for a signed less-than comparison (compare BCC which is an unsigned less-than comparison).

According to fullsnes, the official documentation has BLT exchanged with BGE. [2]

See also

External Links

  1. Official Nintendo documentation on BLT: Page 2-9-24 of Book II
  2. https://problemkaputt.de/fullsnes.htm#snescartgsuncpumisc
  3. example: page 2-9-25, lbid.