We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
DIV2 (Super FX): Difference between revisions
From SnesLab
(→References: hid archive URL) |
(moved tables up) |
||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right;clear:right;width:40%" | {| class="wikitable" style="float:right;clear:right;width:40%" | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
Line 36: | Line 34: | ||
| | | | ||
|} | |} | ||
'''DIV2''' (DIVide by 2) is a [[Super FX]] instruction that shifts a register's bits one place to the right while also leaving the most significant bit unchanged. Unlike [[ASR]], the output becomes zero if the input is 0xFFFF. | |||
=== See Also === | === See Also === |
Revision as of 18:51, 8 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
3D96 | 2 bytes | 6 cycles | 6 cycles | 2 cycles |
Flags Clobbered | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . |
DIV2 (DIVide by 2) is a Super FX instruction that shifts a register's bits one place to the right while also leaving the most significant bit unchanged. Unlike ASR, the output becomes zero if the input is 0xFFFF.
See Also
External Links
- Official Nintendo documentation on DIV2: Page 2-9-44 of Book II