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
(created page) |
(bit 11) |
||
(34 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The '''Sign Flag''' exists on the [[Super FX]]. | The '''Sign Flag''' (S) exists on the [[Super FX]]. It is bit 11 of SFR. It is affected by the following instructions: | ||
* [[ADC (Super FX)|ADC]] R<sub>n</sub> | |||
* [[ADC (Super FX)|ADC]] #n | |||
* [[ADD]] R<sub>n</sub> | |||
* [[ADD]] #n | |||
* [[GSU/AND|AND]] R<sub>n</sub> | |||
* [[GSU/AND|AND]] #n | |||
* [[ASR]] | |||
* [[BIC]] R<sub>n</sub> | |||
* [[BIC]] #n | |||
* [[GSU/CMP|CMP]] R<sub>n</sub> | |||
* [[GSU/DEC|DEC]] R<sub>n</sub> | |||
* [[DIV2]] | |||
* [[FMULT]] | |||
* [[HIB]] | |||
* [[GSU/INC|INC]] R<sub>n</sub> | |||
* [[LMULT]] | |||
* [[LOB]] | |||
* [[LOOP]] | |||
* [[GSU/LSR|LSR]] | |||
* [[MERGE]] | |||
* [[MOVES]] R<sub>n</sub>, R<sub>n</sub>' | |||
* [[MULT]] R<sub>n</sub> | |||
* [[MULT]] #n | |||
* [[NOT]] | |||
* [[OR]] R<sub>n</sub> | |||
* [[OR]] #n | |||
* [[GSU/ROL|ROL]] | |||
* [[GSU/ROR|ROR]] | |||
* [[RPIX]] | |||
* [[GSU/SBC|SBC]] R<sub>n</sub> | |||
* [[SEX]] | |||
* [[SUB]] R<sub>n</sub> | |||
* [[SUB]] #n | |||
* [[SWAP]] | |||
* [[UMULT]] R<sub>n</sub> | |||
It affects the behavior of the following instructions: | |||
* [[BGE]] | |||
* [[BLT]] | |||
* [[GSU/BMI|BMI]] | |||
* [[GSU/BPL|BPL]] | |||
=== See Also === | |||
* [[CY]] | |||
* [[O/V]] | |||
* [[BMI (Super FX)]] | |||
* [[BPL (Super FX)]] | |||
* [[Negative Flag]] | |||
=== 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 | |||
* 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.