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
Jump to: navigation, search
(added official Nintendo doc link)
(added link to official dev manual)
Line 66: Line 66:


=== External Links ===
=== External Links ===
* Official Nintendo documentation on DEC: https://archive.org/details/SNESDevManual/book1/page/n232
* Official Super Nintendo development manual on DEC: [https://archive.org/details/SNESDevManual/book1/page/n232 Appendix C-7 of Book I]


[[Category:ASM]]
[[Category:ASM]]
[[Category:SPC700]]
[[Category:SPC700]]
[[Category:Addition and Subtraction Commands]]
[[Category:Addition and Subtraction Commands]]

Revision as of 02:17, 8 July 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