CoreLab

Ready · Run automatically or Step through one micro-operation at a time.

Assembly

7 / 100 wordsLabels · // comments

Inside the Machine

Ready
FetchDecodeExecute
Current Instruction—0 executed

Ready. Assemble a program, then run or step through it.

PC, MAR, MDR, CIR and accumulatorPC 0, MAR 0, MDR 0, CIR 0, accumulator 0. Ready to fetch.PC: 0 · Program counterPC00Program counterMAR: 0 · Memory addressMAR00Memory addressMDR: 0 · Memory dataMDR000Memory dataCIR / IR: 0 · Current instructionCIR / IR000Current instructionACC: 0 · AccumulatorACC000AccumulatorControl unitInput (0)ALUOutput (0)Memory 00
Swipe the diagram to see all five registers →
address bus —data bus —control bus —Internal —

Memory

100 cells · 00–99
Pink underline: next PCBright border: activeBlue tint: data
Selected 00 · unlabelled · 901
Queued:emptyEnter two numbers, together or one at a time. Their sum must fit -999 to 999.
Output
  1. Run a program to see its output.

Help & PRIMM examples