Difference between revisions of "DEC and INC (16-bit)"

From GbdevWiki
Jump to: navigation, search
Line 1: Line 1:
The contents of register pair (BC, DE, HL, or SP) are incremented.
+
The contents of register pair (BC, DE, HL, or SP) are incremented/decremented.
  
 
== Instructions ==
 
== Instructions ==

Revision as of 10:58, 25 May 2012

The contents of register pair (BC, DE, HL, or SP) are incremented/decremented.

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