Pe (Program Memory Enter) - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

pe
(program memory enter)
Function
This command rewrites the contents of the specified address in the program memory with the input
hexadecimal code.
Format
(1) >pe <address> <code1> [<code2> [...<code8>]]
(2) >pe [<address>]
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 S1C63000)
Condition:
0
Examples
Format (1)
>pe 200 1972
Format (2)
>pe
Program enter address ? 200
0200 1fff
: 1972
0201 1fff
:
0202 1fff
: 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 : Address out of range, use 0-0xXXXX
• Code must be input using a hexadecimal number in the range of 13 bits (0 to 0x1fff).
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 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, the unassemble
contents of the [Source] window are updated immediately.
• Although the contents of the unassemble display are modified by rewriting code, those of source
display remain unchanged.
GUI utility
None
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
address
last program memory address, 0
... Rewrites the code at address 0x200 with 0x1972 (add %a, %b).
(no such symbol / symbol type error)
(direct input mode)
(guidance mode)
... Displayed only when <address> is omitted.
input code
... Address is input.
... Code is input.
... Address 0x201 is skipped.
... Command is terminated.
EPSON
CHAPTER 8: DEBUGGER
0x1fff
161

Advertisement

Table of Contents
loading

Table of Contents