ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

DEC

T1 sm83 alu insn
Game Boy SM83 Instruction: DEC (12 encodings)
SourceGame Boy SM83 (LR35902) Complete Opcode & Timing Table (gb-opcodes) (gbdev_sm83)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeSharp SM83 (Game Boy)
Sharp SM83 (Game Boy DMG / CGB)
License & VersionCC0-1.0
master
Upstreamhttps://github.com/gbdev/gb-opcodes
Privilegeuser
ExtensionsSM83 Base

Summary

Sharp SM83 (Game Boy DMG/CGB LR35902) SM83 Base instruction DEC with 12 opcode variants, exact T-cycle counts, and Z/N/H/C flag effects.

Syntax / Encoding

0x05: DEC B  ; 1B, 4t, flags [Z:Z N:1 H:H C:-]
0x0B: DEC BC  ; 1B, 8t, flags [Z:- N:- H:- C:-]
0x0D: DEC C  ; 1B, 4t, flags [Z:Z N:1 H:H C:-]
0x15: DEC D  ; 1B, 4t, flags [Z:Z N:1 H:H C:-]
0x1B: DEC DE  ; 1B, 8t, flags [Z:- N:- H:- C:-]
0x1D: DEC E  ; 1B, 4t, flags [Z:Z N:1 H:H C:-]
0x25: DEC H  ; 1B, 4t, flags [Z:Z N:1 H:H C:-]
0x2B: DEC HL  ; 1B, 8t, flags [Z:- N:- H:- C:-]
0x2D: DEC L  ; 1B, 4t, flags [Z:Z N:1 H:H C:-]
0x35: DEC (HL)  ; 1B, 12t, flags [Z:Z N:1 H:H C:-]