
190
5.4.3 Modifying Register Contents
To change a register's content, open the [Edit Register] dialog box in one of the following methods:
• Double-click the register you want to change.
• Select the register you want to change, and choose [Edit…] from the popup menu.
Figure 5.16 [Edit Register] Dialog Box
You can enter a number or C/C++ expression in the [Value] field. You can choose whether to modify the whole
register contents, a masked area, floating or flag bits by selecting an option from the combo box (the contents of
this list depend on the CPU model and selected register).
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.
5.4.4 Using Register Contents
Use the value contained in a CPU register by specifying the register name prefixed by the “#” character, e.g.:
#R1, #PC, #R6L, or #ER3 when you are entering a value elsewhere in the HEW, for example when displaying a
specified address in the [Disassembly] or [Memory] windows.
Kommentare zu diesen Handbüchern