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

SLA

T1 sm83 alu insn
Game Boy SM83 Instruction: SLA (8 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 0xCB Prefix

Summary

Sharp SM83 (Game Boy DMG/CGB LR35902) SM83 0xCB Prefix instruction SLA with 8 opcode variants, exact T-cycle counts, and Z/N/H/C flag effects.

Syntax / Encoding

0xCB 0x20: SLA B  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x21: SLA C  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x22: SLA D  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x23: SLA E  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x24: SLA H  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x25: SLA L  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x26: SLA (HL)  ; 2B, 16t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x27: SLA A  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]