Rs (register set), N (next) – Epson S5U1C63000A User Manual

Page 189

Advertising
background image

CHAPTER 8: DEBUGGER

S5U1C63000A MANUAL

EPSON

175

(S1C63 FAMILY ASSEMBLER PACKAGE)

rs

(register set)

Function

This command modifies the register values.

Format

(1) >rs <register> <value> [<register> <value> [...<register> <value>]]

(direct input mode)

(2) >rs

(guidance mode)

PC =

Old value

: <value>

A =

Old value

: <value>

B =

Old value

: <value>

X =

Old value

: <value>

Y =

Old value

: <value>

FE =

Old value

: <value>

F I =

Old value

: <value>

FC =

Old value

: <value>

FZ =

Old value

: <value>

SP1 =

Old value

: <value>

SP2 =

Old value

: <value>

EXT =

Old value

: <value>

Q =

Old value

: <value>

>

<register>: Register name (PC, A, B, X, Y, F, SP1, SP2, EXT, Q)
<value>:

Value to be set to the register; hexadecimal

Examples

Format (1)

>rs pc 110 f 0

... Sets PC to 0x0110 and resets all the flags.

Format (2)

>rs

PC= 116: 110

A= 0: f

B= 0:

X= 0: 100

Y= 0: 100

FE= 0:

FI= 0:

FC= 1: 0

FZ= 1: 0

SP1= aa: ff

SP2= aa: ff

EXT= 0:

Q= 0:

When a register is modified, 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.

Advertising