INTERACTIVE DATAPATH
CUSTOM PROGRAM
Assemble and trace
01
matrix.sAssembly
ADDRESSSOURCE
02
Datapath
ActiveWritebackIdle
FETCHCycle —
Values before this cycle commits—
Fetch the next instruction
The program counter supplies the instruction address.
REGISTER FILEBefore → after commit
TRACE THE EXECUTION
Follow the blue path.
Each step is one processor cycle. The highlighted instruction stays in view while fetch, decode, execute, memory, and writeback move its values through the machine.
Use ← → to step, Space to play, and Shift + → to advance an instruction. Cyan marks state written at the end of a cycle.
PROGRAM RESULTRecorded run