
Hitachi Embedded Workshop User Manual
200
4.5.1
Opening the IO Window
To open the [IO] window, select [View -> CPU -> IO] or click the [View I/O] toolbar button [
]. Modules that
match the on-chip peripheral modules organize the I/O register information. When the [IO] window is first
opened, only a list of module names is displayed.
Figure 4.24 IO Window
4.5.2
Expanding the I/O Register Display
To display the names, addresses, and values of the I/O registers, double-click on the module name or select the
module name by clicking on it or using the cursor keys and press the Enter key. The module display will expand
to show the individual registers of that peripheral module and their names, addresses, and values. Double-
clicking (or pressing the Enter key) again on the module name will close the I/O register display.
For a display in the bit level, expand the I/O register in a similar way to the [Registers] window.
4.5.3
Modifying the I/O Register Contents
To edit the value in an I/O register, type hexadecimal values directly into the window. To enter more complex
expressions, double-click or press the Enter key on the register to open a dialog box to modify the register
contents. When you have entered the new number or expression, click the [OK] button or press the Enter key;
the dialog box closes and the new value is written into the register.
4.6
Looking at Labels
Symbol information is included in the debugging information, which is used when the HEW links the user
program source code to the actual code in the memory. Symbol information is also included in the debug object
file. This information is a list of names that indicate addresses in the program. These names are called labels in
the HEW. The [Disassembly] window shows the first eight characters of each label instead of the corresponding
address or as a part of an instruction operand
*.
Note: When a label value matches an operand, the corresponding instruction operand is replaced by the
label. If two or more labels have the same value, the one that comes first in alphabetical order is
displayed.
Hint:
When [edit control] accepts an address or a value, a label can be input instead.