<< Previous | Next >>

> DEC ss Decrement Rabbit 2000/3000/4000 Instruction

> Opcode | Instruction | Clocks | Operation
> ---- | `DEC` ss | `2` | ss `=` ss `- 1`
> 0B | DEC BC | 2 | BC = BC - 1
> 1B | DEC DE | 2 | DE = DE - 1
> 2B | DEC HL | 2 | HL = HL - 1
> 3B | DEC SP | 2 | SP = SP - 1

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> - | - | - | - |  | · |  |  |

> #### Description

> Decrements ss (any of BC, DE, HL, or SP).

<< Previous | Next >>