Watch global window, Figure 59. using the sfrdump function, #3 of 3 – Zilog Z51F0811 User Manual
Page 60

UM024002-0512
The Z8051 On-Chip Debugger
Z8051 On-Chip Debugger and In-System Programmer
User Manual
52
If you wish to cancel your inputs, press the Escape (Esc) key. Press the Enter key to save
your changes, and note that the red color of your changed character pair has changed back
to black.
Refresh
The SFR area includes static registers such as a stack pointer, an accumulator, etc. How-
ever, most SFRs are dynamic registers such as timers, I/Os, etc. Clicking the
Refresh
but-
ton (highlighted in Figure 59) redisplays all current data.
Save
Clicking the
Save
button saves an SFR area as a pattern file.
Watch Global Window
The Watch Global window displays and supports the modification of global variables
within the user’s C language-based source program. Each variable is located within the
Code, XDATA, IRAM, SFR dump spaces. If users could easily determine a variable’s
location, they could edit the variable directly. However, finding a global variable across
these many memory dump spaces is often perceived to be a tedious process.
The Watch Global window alleviates this problem by employing a map/symbol file; see
Figure 60.
Figure 59. Using the SFRDump Function, #3 of 3