CodeLab Assembly · Binary · Hex ‹ Hub
🎮 Quests
Converter
Bitwise
Assembly CPU
Trainer Level
1 · 0 XP
STREAK
🔥0
BEST
0

Choose a mode

Answer fast and keep your streak. Each correct answer = XP. Wrong answers reset the streak.

Number Converter

Type in any field — the others update live. Click bits to toggle them.

Bitwise Playground

Two operands, every operation shown bit-by-bit (8-bit).

Tiny CPU — Assembly Simulator

An 8-register, 256-byte educational machine. Write asm, Step or Run, watch registers / flags / memory change.

ready
Instruction reference
MOV Rd, Rs|imm — copy
ADD/SUB/MUL Rd, Rs|imm — arithmetic
AND/OR/XOR Rd, Rs|imm — bitwise
SHL/SHR Rd, imm — bit shift
INC/DEC Rd
CMP a, b — set flags (Zero, Negative, Carry)
JMP label · JE/JZ · JNE/JNZ · JG · JL
LD Rd, [addr] · ST [addr], Rs|imm — memory
OUT Rd|imm — print · HLT — stop
Registers R0–R7 · values wrap 0–255 · label: defines a jump target
PC: 0