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

SRL

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

Syntax / Encoding

0xCB 0x38: SRL B  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x39: SRL C  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x3A: SRL D  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x3B: SRL E  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x3C: SRL H  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x3D: SRL L  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x3E: SRL (HL)  ; 2B, 16t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x3F: SRL A  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]