Tracing an Assembly Language Program

Tracing an assembly program means following each instruction by hand and recording how the registers and memory change. You will practise this with a trace table to predict a program's output.

Key terms

Tracing
Following a program instruction by instruction to see what it does.
Trace table
A table recording the values of registers and memory locations after each instruction.
Accumulator
A register that holds the results of calculations.

Part of Processor Fundamentals.