beautypg.com

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

Page 189

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 [ [... ]]

(direct input mode)

(2) >rs

(guidance mode)

PC =

Old value

:

A =

Old value

:

B =

Old value

:

X =

Old value

:

Y =

Old value

:

FE =

Old value

:

F I =

Old value

:

FC =

Old value

:

FZ =

Old value

:

SP1 =

Old value

:

SP2 =

Old value

:

EXT =

Old value

:

Q =

Old value

:

>

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

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.