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.
โถ 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.
๐ Learn it the idea and an example ยท tap to fold
๐งฐ Parts click one to add it to your code
๐ Cheat sheet
Press โถ Run to see your code work here.
Console
๐ฏ What your program should do
โ Result of your last check
Nothing checked yet. Write your code, then press โ Check โ the result shows here and under the output.