We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Sign Flag: Difference between revisions
From SnesLab
(added list of instructions that modify S) |
(bit 11) |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The '''Sign Flag''' exists on the [[Super FX]]. It is affected by the following instructions: | The '''Sign Flag''' (S) exists on the [[Super FX]]. It is bit 11 of SFR. It is affected by the following instructions: | ||
* ADC | * [[ADC (Super FX)|ADC]] R<sub>n</sub> | ||
* ADC #n | * [[ADC (Super FX)|ADC]] #n | ||
* ADD | * [[ADD]] R<sub>n</sub> | ||
* ADD #n | * [[ADD]] #n | ||
* AND | * [[GSU/AND|AND]] R<sub>n</sub> | ||
* AND #n | * [[GSU/AND|AND]] #n | ||
* ASR | * [[ASR]] | ||
* BIC | * [[BIC]] R<sub>n</sub> | ||
* BIC #n | * [[BIC]] #n | ||
* CMP | * [[GSU/CMP|CMP]] R<sub>n</sub> | ||
* DEC | * [[GSU/DEC|DEC]] R<sub>n</sub> | ||
* DIV2 | * [[DIV2]] | ||
* FMULT | * [[FMULT]] | ||
* HIB | * [[HIB]] | ||
* INC | * [[GSU/INC|INC]] R<sub>n</sub> | ||
* LMULT | * [[LMULT]] | ||
* LOB | * [[LOB]] | ||
* LOOP | * [[LOOP]] | ||
* LSR | * [[GSU/LSR|LSR]] | ||
* MERGE | * [[MERGE]] | ||
* MOVES | * [[MOVES]] R<sub>n</sub>, R<sub>n</sub>' | ||
* MULT | * [[MULT]] R<sub>n</sub> | ||
* MULT #n | * [[MULT]] #n | ||
* NOT | * [[NOT]] | ||
* OR | * [[OR]] R<sub>n</sub> | ||
* OR #n | * [[OR]] #n | ||
* ROL | * [[GSU/ROL|ROL]] | ||
* ROR | * [[GSU/ROR|ROR]] | ||
* RPIX | * [[RPIX]] | ||
* SBC | * [[GSU/SBC|SBC]] R<sub>n</sub> | ||
* SEX | * [[SEX]] | ||
* SUB | * [[SUB]] R<sub>n</sub> | ||
* SUB #n | * [[SUB]] #n | ||
* SWAP | * [[SWAP]] | ||
* UMULT | * [[UMULT]] R<sub>n</sub> | ||
It affects the behavior of the following instructions: | |||
* [[BGE]] | |||
* [[BLT]] | |||
* [[GSU/BMI|BMI]] | |||
* [[GSU/BPL|BPL]] | |||
=== See Also === | === See Also === | ||
* [[CY]] | * [[CY]] | ||
* [[O/V]] | |||
* [[BMI (Super FX)]] | * [[BMI (Super FX)]] | ||
* [[BPL (Super FX)]] | * [[BPL (Super FX)]] | ||
* [[Negative Flag]] | |||
=== References === | === References === | ||
* 9.3 on [https://archive.org/details/SNESDevManual/book2/page/n158 page 2-9-2 of Book II] of the official Super Nintendo development manual | * 9.3 on [https://archive.org/details/SNESDevManual/book2/page/n158 page 2-9-2 of Book II] of the official Super Nintendo development manual | ||
* [https://archive.org/details/SNESDevManual/book2/page/n110 page 2-4-4], lbid. | * Table 2-4-2 on [https://archive.org/details/SNESDevManual/book2/page/n110 page 2-4-4], lbid. | ||
[[Category:SNES Hardware]] | [[Category:SNES Hardware]] | ||
[[Category:Flags]] | [[Category:Flags]] |
Latest revision as of 18:45, 14 July 2024
The Sign Flag (S) exists on the Super FX. It is bit 11 of SFR. It is affected by the following instructions:
- ADC Rn
- ADC #n
- ADD Rn
- ADD #n
- AND Rn
- AND #n
- ASR
- BIC Rn
- BIC #n
- CMP Rn
- DEC Rn
- DIV2
- FMULT
- HIB
- INC Rn
- LMULT
- LOB
- LOOP
- LSR
- MERGE
- MOVES Rn, Rn'
- MULT Rn
- MULT #n
- NOT
- OR Rn
- OR #n
- ROL
- ROR
- RPIX
- SBC Rn
- SEX
- SUB Rn
- SUB #n
- SWAP
- UMULT Rn
It affects the behavior of the following instructions:
See Also
References
- 9.3 on page 2-9-2 of Book II of the official Super Nintendo development manual
- Table 2-4-2 on page 2-4-4, lbid.