๐น๏ธ Practice arcade
Extra games, not extra homework โ timed sprints, survival runs that end when your lives run out, and mastery drills built from the same skills Assembly and Computer Architecture teaches.
โก Sprints
Beat the clock.
๐ข Hex Sprint
Bits to hex, hex to decimal, and what an unsigned byte holds after it wraps. Ninety seconds.
๐ Address Sprint
Pointer steps, base + index ร scale + displacement, lea against mov, and cells of a 2D array. Two minutes.
๐๏ธ Bit Twiddling Sprint
AND, OR, XOR and AND-NOT on a byte, the right mask for a job, and shr against sar on a negative value. Ninety seconds.
โฑ๏ธ Performance Sprint
CPI from an instruction mix, two designs through the performance equation, and Amdahl's law. Two minutes.
๐ Survival
Each miss costs a life โ lose them all and the run ends.
โ Two's Complement Survival
Read a negative pattern, write one, and widen one without losing its sign. Three misses and you're out.
๐ Register Width Survival
What a write to eax, ax or al leaves in rax, and what movsx, movzx and ldrsb really load. Three misses and you're out.
๐ฉ Flags and Branches
ZF, SF, CF and OF after an add or a sub, NZCV after subs, and which of jl or jb is taken. Three misses and you're out.
๐๏ธ Memory Hierarchy Survival
AMAT for one and two levels, cache index bits and sets, and a virtual address through the page table. Three misses and you're out.
๐ฏ Mastery
No clock โ just get N in a row.
๐ Byte Order Mastery
Read little-endian values out of a memory dump and find where each byte of a store lands. Five in a row.
๐งฑ Struct Layout Mastery
Field offsets and sizeof with padding and tail padding, on LP64 Linux. Five in a row.
๐ฏ Float Bits Mastery
Decode a binary32 pattern, encode a value, and find the wrong step in a hand decode. Five in a row.
๐งฌ Machine Code Mastery
Pull register and immediate fields out of RISC-V and ARM64 words, and work out where a branch lands. Five in a row.