Monitoring And Manipulating C Variables - Fujitsu MB2147-01 Application Note

Emulator system
Table of Contents

Advertisement

The registers are:
Abbr.
R0 – R12
R13
R14
R15
MDH
MDL
RP
PS
PC
USP
SSP
CCR
ILM
TBR
The contents of these registers can be changed by double-clicking them. A pop-up window will occur and look
like the following picture:
In the dialog frame Register value you can enter a new value for the register. Note, that the values always are
shown in hexadecimal notation by set-up default, but you can enter even decimal values (beginning with "D'"),
binary values (beginning with "B'"), or octal values (beginning with "O'").
5.3

Monitoring and Manipulating C Variables

To display C variables choose in the debugging mode: ViewWatch. A new window Watch will occur.
Click in this window on the right mouse button and select Set... . A pop-up window occurs.
In the text frame Variable name type in the variable name i of the example program above.
The Watch window will then contain the variable name and value.
Note: You can change the radix of the value by right-clicking on the variable entry and choose via Radix: Binary,
Octal, Decimal, or Hexadecimal.
FR Family MB2198-01 Emulating and Debugging Installation Guide, Doc. No. 002-05223 Rev. *A
General Purpose Registers
Accumulator
Frame Pointer
System or User Stack Pointer
Multiplication/Division Register higher 32 bits
Multiplication/Division Register lower 32 bits
Return Pointer
Program Status
Program Counter
User Stack Pointer
System Stack Pointer
Condition Code Register (belongs to PS)
Interrupt level Mask Register (belongs to PS)
Table Base Register
Monitoring and Manipulating
Register name
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb2198-01

Table of Contents