Arithmetic // DEC (DECrement)
The byte specified by the m operand is decremented.
If the D Register contains byte 2Ah, then upon the execution of a DEC D instruction, the D Register contains 29h. General-Purpose Arithmetic and CPU Control Groups The following general-purpose arithmetic and CPU control group instructions are each described in this section. Simply click to jump to an instruction’s description to learn more. DAA – see page 173 CPL – see page 175 NEG – see page 176 CCF – see page 178 SCF – see page 179 NOP – see page 180 HALT – see page 181 DI – see page 182 EI – see page 183 IM 0 – see page 184 IM 1 – see page 185 IM 2 – see page 186
dec b 0x05,
1 bytes, 4Tdec bc 0x0B,
1 bytes, 6Tdec c 0x0D,
1 bytes, 4Tdec d 0x15,
1 bytes, 4Tdec de 0x1B,
1 bytes, 6Tdec e 0x1D,
1 bytes, 4Tdec h 0x25,
1 bytes, 4Tdec hl 0x2B,
1 bytes, 6Tdec l 0x2D,
1 bytes, 4Tdec (hl) 0x35,
1 bytes, 11Tdec sp 0x3B,
1 bytes, 6Tdec a 0x3D,
1 bytes, 4Tdec ixh 0xDD25,
2 bytes, 8Tdec ix 0xDD2B,
2 bytes, 10Tdec ixl 0xDD2D,
2 bytes, 8Tdec (ix+*) 0xDD35,
3 bytes, 23Tdec iyh 0xFD25,
2 bytes, 8Tdec iy 0xFD2B,
2 bytes, 10Tdec iyl 0xFD2D,
2 bytes, 8Tdec (iy+*) 0xFD35,
3 bytes, 23T