Dw (data memory watch), Rs (register set) – Epson S5U1C63000A User Manual

Page 184

Advertising
background image

CHAPTER 8: DEBUGGER

170

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

dw

(data memory watch)

Function

This command registers four data memory locations as the watch data addresses. Memory contents
equivalent to 4 words at each watch address are displayed in the [Register] window.

Format

(1) >dw <address1> [ ... <address4>]

(direct input mode)

(2) >dw

(guidance mode)

Address 1 =

Old value

: <address1>

Address 2 =

Old value

: <address2>

Address 3 =

Old value

: <address3>

Address 4 =

Old value

: <address4>

>

<address1–4>: Watch address; hexadecimal or symbol (IEEE-695 format only)
Condition:

0

address1

address2

0xffff

Examples

Format (1)

>dw 10 14 18 1C

... Sets watch addresses to 0x10, 0x14, 0x18, and 0x1c.

Format (2)

>dw

Address1 = 0010 :0

Address2 = 0014 :4

Address3 = 0018 :8

Address4 = 001c :c

>

Notes

• When the debugger starts up, four locations at addresses 0, 4, 8, and 0xc are initially set as the watch

data addresses.

• The address specified here must be within the range of the data memory area available with each

microcomputer model.
An error results if the input one is not a hexadecimal number or a valid symbol.

Error : invalid value

(no such symbol / symbol type error)

An error results if the limit is exceeded.

Error : Address out of range, use 0-0xFFFF

• The watch data addresses are set in units of 4 words. A warning results if you specify an address that

is outside the 4-word boundary, with your specified address rounded down to a multiple of 4.

Example:

>dw

Address1 = 0000 :0

Address2 = 0004 :10

Address3 = 0008 :15

... Illegal address

Address4 = 000c :19

... Illegal address

Warning : round down to multiple of 4
Address1 = 0
Address2 = 10
Address3 = 14
>

Advertising