Difference between revisions of "DEC and INC (16-bit)"
From GbdevWiki
(Created page with 'The contents of register pair (BC, DE, HL, or SP) are incremented. == Instructions == INC BC - $03 - 1 Machine Cycle INC DE - $13 - 1 Machine Cycle INC HL - $23 - 1 Machine …') |
|||
Line 7: | Line 7: | ||
INC HL - $23 - 1 Machine Cycle | INC HL - $23 - 1 Machine Cycle | ||
INC SP - $33 - 1 Machine Cycle | INC SP - $33 - 1 Machine Cycle | ||
+ | |||
+ | DEC BC - $0B - 1 Machine Cycle | ||
+ | DEC DE - $1B - 1 Machine Cycle | ||
+ | DEC HL - $2B - 1 Machine Cycle | ||
+ | DEC SP - $3B - 1 Machine Cycle | ||
== Flags == | == Flags == | ||
None | None |
Revision as of 10:58, 25 May 2012
The contents of register pair (BC, DE, HL, or SP) are incremented.
Instructions
INC BC - $03 - 1 Machine Cycle INC DE - $13 - 1 Machine Cycle INC HL - $23 - 1 Machine Cycle INC SP - $33 - 1 Machine Cycle
DEC BC - $0B - 1 Machine Cycle DEC DE - $1B - 1 Machine Cycle DEC HL - $2B - 1 Machine Cycle DEC SP - $3B - 1 Machine Cycle
Flags
None