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
(created page) |
(added official Nintendo doc link) |
||
Line 64: | Line 64: | ||
=== See Also === | === See Also === | ||
* [[DEC]] | * [[DEC]] | ||
=== External Links === | |||
* Official Nintendo documentation on DEC: https://archive.org/details/SNESDevManual/book1/page/n232 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:SPC700]] | [[Category:SPC700]] | ||
[[Category:Addition and Subtraction Commands]] | [[Category:Addition and Subtraction Commands]] |
Revision as of 03:19, 17 May 2023
DEC is an SPC700 instruction that decrements a value.
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 |
. | . | . | . | . | . |
See Also
External Links
- Official Nintendo documentation on DEC: https://archive.org/details/SNESDevManual/book1/page/n232