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

RET

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

Syntax / Encoding

0xC0: RET NZ  ; 1B, 20/8t, flags [Z:- N:- H:- C:-]
0xC8: RET Z  ; 1B, 20/8t, flags [Z:- N:- H:- C:-]
0xC9: RET  ; 1B, 16t, flags [Z:- N:- H:- C:-]
0xD0: RET NC  ; 1B, 20/8t, flags [Z:- N:- H:- C:-]
0xD8: RET C  ; 1B, 20/8t, flags [Z:- N:- H:- C:-]