Skip to content

All labs ยท โš™๏ธ Computer Organization & Architecture Lab

Computer Organization & Architecture Lab

Build programs from instruction cards and watch the CPU work โ€“ addresses, instructions and numbers travelling along the buses โ€“ then program the same 8-bit CPU in assembly: fetch and execute, registers and flags, the ALU, memory, loops made of jumps, the stack behind every function call โ€“ and cycle counts for making it fast.

๐Ÿ‘‹ Free demo: try the first 2 lessons and the first tool. Subscribe to unlock everything here and in all the other labs โ€“ USD 10 a month (USD 100 a year), or included with lessons. โœจ SubscribeLog in

โ–ถ See it working

โš™๏ธ Computer Organization & Architecture Lab โ€“ Drag instruction cards into a program and watch an 8-bit CPU fetch and execute them โ€“ numbers flying between memory, registers and the ALU โ€“ then write the same programs in assembly: flags, jumps, the stack and cycle counts.

๐ŸŽฏ Missions

How it works
  • Drag an instruction card from the tray into the program (or tap it to add it at the end). Drag โ ฟ to move a card, โœ• to remove it.
  • Set each card's register, number or data cell. A jump card says which card to jump to.
  • Press โ–ถ Run (or Step for one instruction): the PC sends an address to memory, the instruction travels to the control unit, then numbers travel to the registers, the ALU, memory or the output.
  • Every card is 2 bytes of machine code โ€“ you can see them in memory.
Program