We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
B Flag (Super FX): Difference between revisions
From SnesLab
(linkify SM) |
(subscripted) |
||
Line 3: | Line 3: | ||
Many instructions clear the B flag, including: | Many instructions clear the B flag, including: | ||
* ADC | * ADC R<sub>n</sub> | ||
* ADC #n | * ADC #n | ||
* [[ADD]] | * [[ADD]] R<sub>n</sub> | ||
* [[ADD]] #n | * [[ADD]] #n | ||
* AND | * AND R<sub>n</sub> | ||
* AND #n | * AND #n | ||
* ASR | * ASR | ||
* [[BIC]] | * [[BIC]] R<sub>n</sub> | ||
* [[BIC]] #n | * [[BIC]] #n | ||
* [[CACHE]] | * [[CACHE]] | ||
* [[CMODE]] | * [[CMODE]] | ||
* CMP | * CMP R<sub>n</sub> | ||
* [[COLOR]] | * [[COLOR]] | ||
* DEC | * DEC R<sub>n</sub> | ||
* [[DIV2]] | * [[DIV2]] | ||
* [[FMULT]] | * [[FMULT]] | ||
Line 28: | Line 28: | ||
* INC Rn | * INC Rn | ||
* [[IWT]] Rn, #xx | * [[IWT]] Rn, #xx | ||
* JMP | * JMP R<sub>n</sub> | ||
* [[LDB]] (Rm) | * [[LDB]] (Rm) | ||
* [[LDW]] (Rm) | * [[LDW]] (Rm) | ||
* [[LEA]] Rn, xx | * [[LEA]] Rn, xx | ||
* [[LINK]] #n | * [[LINK]] #n | ||
* [[LJMP]] | * [[LJMP]] R<sub>n</sub> | ||
* LM Rn, (xx) | * LM Rn, (xx) | ||
* [[LMS]] Rn, (yy) | * [[LMS]] Rn, (yy) |
Revision as of 06:51, 13 July 2024
The B flag is on the Super FX, and is set when WITH runs.
Many instructions clear the B flag, including:
- ADC Rn
- ADC #n
- ADD Rn
- ADD #n
- AND Rn
- AND #n
- ASR
- BIC Rn
- BIC #n
- CACHE
- CMODE
- CMP Rn
- COLOR
- DEC Rn
- DIV2
- FMULT
- GETB
- GETBH
- GETBL
- GETBS
- GETC
- HIB
- IBT Rn, #pp
- INC Rn
- IWT Rn, #xx
- JMP Rn
- LDB (Rm)
- LDW (Rm)
- LEA Rn, xx
- LINK #n
- LJMP Rn
- LM Rn, (xx)
- LMS Rn, (yy)
- LMULT
- LOB
- LOOP
- LSR
- MERGE
- MOVE Rn, Rn'
- MOVES Rn, Rn'
- MULT Rn
- MULT #n
- NOP
- NOT
- OR Rn
- OR #n
- PLOT
- RAMB
- ROL
- ROMB
- ROR
- RPIX
- SBC Rn
- SBK
- SEX
- SM (xx), Rn
- SMS (yy), Rn
- STB (Rm)
- STOP
- STW (Rm)
- SUB Rn
- SUB #n
- SWAP
- UMULT Rn
- and presumably UMULT #n too
See Also
Reference
- page 2-9-2 of Book II of the official Super Nintendo development manual