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

OR

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

Syntax / Encoding

0xB0: OR A, B  ; 1B, 4t, flags [Z:Z N:0 H:0 C:0]
0xB1: OR A, C  ; 1B, 4t, flags [Z:Z N:0 H:0 C:0]
0xB2: OR A, D  ; 1B, 4t, flags [Z:Z N:0 H:0 C:0]
0xB3: OR A, E  ; 1B, 4t, flags [Z:Z N:0 H:0 C:0]
0xB4: OR A, H  ; 1B, 4t, flags [Z:Z N:0 H:0 C:0]
0xB5: OR A, L  ; 1B, 4t, flags [Z:Z N:0 H:0 C:0]
0xB6: OR A, (HL)  ; 1B, 8t, flags [Z:Z N:0 H:0 C:0]
0xB7: OR A, A  ; 1B, 4t, flags [Z:Z N:0 H:0 C:0]
0xF6: OR A, n8  ; 2B, 8t, flags [Z:Z N:0 H:0 C:0]