158
EPSON
S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
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
↵
(guidance mode)
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
≤
address
≤
last program memory address, 0
≤
input code
≤
0xfff
Example
>pe
↵
Program enter address ? 100
↵
... Address is input.
0100 fff : 1a0
↵
... Code is input.
0101 fff :
↵
... Address 0x101 is skipped.
0102 fff : q
↵
... Command is terminated.
>
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