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

LD

T1 sm83 load_store insn
Game Boy SM83 Instruction: LD (88 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 LD with 88 opcode variants, exact T-cycle counts, and Z/N/H/C flag effects.

Syntax / Encoding

0x01: LD BC, n16  ; 3B, 12t, flags [Z:- N:- H:- C:-]
0x02: LD (BC), A  ; 1B, 8t, flags [Z:- N:- H:- C:-]
0x06: LD B, n8  ; 2B, 8t, flags [Z:- N:- H:- C:-]
0x08: LD (a16), SP  ; 3B, 20t, flags [Z:- N:- H:- C:-]
0x0A: LD A, (BC)  ; 1B, 8t, flags [Z:- N:- H:- C:-]
0x0E: LD C, n8  ; 2B, 8t, flags [Z:- N:- H:- C:-]
0x11: LD DE, n16  ; 3B, 12t, flags [Z:- N:- H:- C:-]
0x12: LD (DE), A  ; 1B, 8t, flags [Z:- N:- H:- C:-]
0x16: LD D, n8  ; 2B, 8t, flags [Z:- N:- H:- C:-]
0x1A: LD A, (DE)  ; 1B, 8t, flags [Z:- N:- H:- C:-]