Rs (Register Set) - Epson S5U1C62000A Manual

Epson cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

CHAPTER 9: DEBUGGER
rs
(register set)
Function
This command modifies the register values.
Format
(1) >rs <register> <value> [<register> <value> [...<register> <value>]]
(2) >rs
PC = Old value : <value>
A = Old value : <value>
B = Old value : <value>
X = Old value : <value>
Y = Old value : <value>
FI = Old value : <value>
FD = Old value : <value>
FZ = Old value : <value>
FC = Old value : <value>
SP = Old value : <value>
>
<register>: Register name (A, B, X, Y, SP, PC, F)
<value>:
Value to be set to the register; binary for F, hexadecimal for others
Examples
Format (1)
>rs PC 0110 F 0000
Format (2)
>rs
PC =
206
: 100
A =
0
: 0
B =
f
: 0
X =
3
: 000
Y =
ff
: 100
FI =
0
:
FD =
0
: 1
FZ =
1
: 0
FC =
0
:
SP =
7d
: 7f
>
After you execute the command, the [Register] window is updated to show the contents you have
input. If you input "q " to stop entering in the middle, the contents input up to that time are updated.
Notes
• An error results if you input a value exceeding the register's bit width.
Error : invalid value.
• An error results if you input a register name other than PC, A, B, X, Y, F or SP in direct input mode.
Error : register name (PC/A/B/X/Y/F/SP).
• In guidance mode, the following keyboard inputs have special meaning:
"q "
... Command is terminated. (finish inputting and start execution)
"^ "
... Return to previous register.
" "
... Input is skipped. (keep current value)
GUI utility
[Register] window
The [Register] window allows direct modification of data. Click the [Register] window, select the
displayed data to be modified and enter a value then press [Enter].
168
... Sets PC to 0x0110 and resets all the flags.
EPSON
(direct input mode)
(guidance mode)
S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)

Advertisement

Table of Contents
loading

Table of Contents