196/317
7 - Debugger and PROM Programmer Tutorial for ST72251
07-emu8.bmp
Now, we want to see how the timer routine affects the variables in memory. Let us select the
toolbox Windows/Dump option. A window opens, showing the contents of the whole memory.
Using the scroll bar, let us watch the value of the memory bytes near the address of the timer
variables, situated at
80h
:
07-emu9.bmp
Now we know the value of the three bytes of the timer at 80, 81 and 82. This window shows
the memory contents at the time it was opened. If we step through the program, the window
will not reflect the changes. We have two solutions for this:
Press the Refresh button when we want to see the latest values;
Check the Hot box. From that time on, the window will be refreshed automatically each time
the program stops. The background of the window turns yellow to indicate it is hot: