We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
DEC (SPC700): Difference between revisions
From SnesLab
(→See Also: INC (SPC700)) |
(moved tables up) |
||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right;clear:right;width:30%" | {| class="wikitable" style="float:right;clear:right;width:30%" | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
Line 61: | Line 59: | ||
| | | | ||
|} | |} | ||
'''DEC''' is an [[SPC700]] instruction that decrements a value. | |||
=== See Also === | === See Also === |
Revision as of 03:25, 13 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
9C | 1 byte | 2 cycles | |||||
8B | 2 byte | 4 cycles | |||||
9B | 2 byte | 5 cycles | |||||
8C | 3 bytes | 5 cycles | |||||
1D | 1 byte | 2 cycles | |||||
DC | 1 byte | 2 cycles |
Flags Clobbered | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . |
DEC is an SPC700 instruction that decrements a value.
See Also
External Links
- Official Super Nintendo development manual on DEC: Appendix C-7 of Book I