One way to keep track of what is happening with a program that we are working with is by creating a trace table for it: a table what keep track of the input, output, register, variable, and exit code values as the program keeps executing.
Here is the trace table for the short program on slide 37:
| Instruction | |
|
|
|
Exit Code | Notes |
|---|---|---|---|---|---|---|
|
|
|||||
|
|
|
||||
|
|
|
|
|