beautypg.com

Pf (program memory fill) – Epson S5U1C62000A User Manual

Page 171

background image

S5U1C62000A MANUAL

EPSON

159

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 9: DEBUGGER

pf

(program memory fill)

Function

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

Format

(1) >pf

(direct input mode)

(2) >pf

(guidance mode)

Start address ?

End address ?

Fill code ?

>

:

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

:

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

:

Write code; hexadecimal (valid operation code of S1C62)

Condition:

0

address1

address2

last program memory address, 0

code

0xfff

Examples

Format (1)

>pf 200 2FF FFB

... Fills the area from address 0x200 to address 0x2ff with 0xffb.

Format (2)

>pf

Start address ? 200

... Start address is input.

End address ? 2ff

... End address is input.

Fill code ? fff

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

An error results if the limit is exceeded.

Error : Program address out of range.

• 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