CHAPTER 8: DEBUGGER
S5U1C63000A MANUAL
EPSON
161
(S1C63 FAMILY ASSEMBLER PACKAGE)
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>]]
↵
(direct input mode)
(2) >pe [<address>]
↵
(guidance mode)
Program enter address ? <address>
↵
... Displayed only when <address> is omitted.
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
≤
address
≤
last program memory address, 0
≤
input code
≤
0x1fff
Examples
Format (1)
>pe 200 1972
↵
... Rewrites the code at address 0x200 with 0x1972 (add %a, %b).
Format (2)
>pe
↵
Program enter address ? 200
↵
... Address is input.
0200 1fff : 1972
↵
... Code is input.
0201 1fff :
↵
... Address 0x201 is skipped.
0202 1fff : 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
(no such symbol / symbol type error)
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
Summary of Contents for S5U1C63000A
Page 4: ......
Page 14: ......
Page 304: ......
Page 305: ...S1C63 Family Assembler Package Quick Reference ...