Register Operation; Rd (Register Display) - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

CHAPTER 8: DEBUGGER

8.9.6 Register Operation

rd
(register display)
Function
This command displays the contents of the registers, execution cycle counter, and watch data.
Format
>rd
(direct input mode)
Display
(1) Contents of display
If the memory locations indicated by the X and Y registers are in an unused area, the data in that area
is marked by an " " as it is displayed.
Note that watch data is always displayed even if it resides in an unused area (indeterminate).
(2) When [Register] window is opened
When the [Register] window is opened, all the above contents are displayed in the [Register] window
according to the program execution. When you use the rd command, the displayed contents of the
[Register] window is updated.
(3) When [Register] window is closed
Data is displayed in the [Command] window in the following manner:
>rd
PC:0110 A:A B:A X:[AAAA] = * Y:[AAAA] = * EICZ:0000 SP1:AA SP2:AA EXT:AA
QUEUE:AAAA
bus cycle:000002AB3D cycle
[0000] = 0000 [0010] = AAAA [0014] = AAAA [0018] = AAAA
>
(4) During log output
If a command execution result is being output to a log file by the log command, the register values are
displayed in the [Command] window even if the [Register] window is opened and are also output to
the log file.
GUI utility
[View | Register] menu item
When this menu item is selected, the [Register] window opens or becomes active and displays the
current register contents.
174
The following lists the contents displayed by this command.
PC:
Program counter
A:
A register
B:
B register
X:
Contents of X register and indirectly addressed data memory
Y:
Contents of Y register and indirectly addressed data memory
EICZ:
Flags
SP1:
Stack pointer SP1
SP2:
Stack pointer SP2
EXT:
EXT register
QUEUE: QUEUE register
bus cycle: Execution cycle counter
[xxxx]:
Watch data at four locations
EPSON
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)

Advertisement

Table of Contents
loading

Table of Contents