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

SRA

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

Syntax / Encoding

0xCB 0x28: SRA B  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x29: SRA C  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x2A: SRA D  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x2B: SRA E  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x2C: SRA H  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x2D: SRA L  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x2E: SRA (HL)  ; 2B, 16t, flags [Z:Z N:0 H:0 C:C]
0xCB 0x2F: SRA A  ; 2B, 8t, flags [Z:Z N:0 H:0 C:C]