Pe (Program Memory Enter) - Epson S5U1C62000A Manual

Epson cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

CHAPTER 9: DEBUGGER
pe
(program memory enter)
Function
This command rewrites the contents of the specified address in the program memory with the input
hexadecimal code.
Format
>pe
Program enter address ? <address>
Address Original code : <code>
..........
>
<address>:
Start address from which to write code; hexadecimal or symbol (IEEE-695 format only)
<code(1–8)>: Write code; hexadecimal (valid operation code of S1C62)
Condition:
0
Example
>pe
Program enter address ? 100
0100 fff
: 1a0
0101 fff
:
0102 fff
: q
>
Notes
• The start address you specified must be within the range of the program memory area available with
each microcomputer model.
An error results if the input one is not hexadecimal number or not a valid symbol.
Error : invalid value.
An error results if the limit is exceeded.
Error : Program address out of range.
• Code must be input using a hexadecimal number in the range of 12bits (0 to 0xfff).
An error results if the input one is not a hexadecimal number.
Error : invalid value.
An error results if the input code exceeds the limit or it is invalidated by the "DEL" command in the
.PAR file.
Error : illegal code.
• In guidance mode, the following keyboard inputs have special meaning:
"q "
... Command is terminated. (finish inputting and start execution)
"^ "
... Return to previous address.
" "
... Input is skipped. (keep current value)
If the maximum address of program memory is reached and gets a valid input other than "^ ", the
command is terminated.
• When the contents of the program memory are modified using the pe command in direct mode, the
unassemble contents of the [Source] window are updated immediately. When it is done in guidance
mode, the unassemble contents of the [Source] window are updated immediately in unassemble
display mode, but will be updated when the "q " is input to terminate the command in mix display
mode.
• Although the contents of the unassemble display are modified by rewriting code, those of source
display remain unchanged.
GUI utility
None
158
address
last program memory address, 0
(guidance mode)
input code
... Address is input.
... Code is input.
... Address 0x101 is skipped.
... Command is terminated.
EPSON
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
0xfff
S5U1C62000A MANUAL

Advertisement

Table of Contents
loading

Table of Contents