Pf (program memory fill), Df (data memory fill) – Epson S5U1C63000A User Manual

Page 176

Advertising
background image

CHAPTER 8: DEBUGGER

162

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

pf

(program memory fill)

Function

This command rewrites the contents of the specified program memory area with the specified code.

Format

(1) >pf <address1> <address2> <code>

(direct input mode)

(2) >pf

(guidance mode)

Start address ? <address1>

End address ? <address2>

Fill code ? <code>

>

<address1>:

Start address of specified range; hexadecimal or symbol (IEEE-695 format only)

<address2>:

End address of specified range; hexadecimal or symbol (IEEE-695 format only)

<code>:

Write code; hexadecimal (valid operation code of S1C63000)

Condition:

0

address1

address2

last program memory address, 0

code

0x1fff

Examples

Format (1)

>pf 200 20f 1ffe

... Fills the area from address 0x200 to address 0x20f with 0x1ffe (nop).

Format (2)

>pf

Start address ? 200

... Start address is input.

End address ? 20f

... End address is input.

Fill code ? 1fff

... Code is input.

>

Command execution can be canceled by entering only the [Enter] key and nothing else.

Notes

• The addresses specified here must be within the range of the program memory area available with

each microcomputer model.
An error results if the input one is not a hexadecimal number or not 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-0xXXXX

• An error results if the start address is larger than the end address.

Error : end address < start address

• When the contents of the program memory is modified using the pf command, the contents of the

[Source] window are updated automatically.

• Although the contents of the unassemble display are modified by rewriting code, those of source

display remain unchanged.

GUI utility

None

Advertising