Epson S5U1C63000A Computer Accessories User Manual


 
CHAPTER 8: DEBUGGER
S5U1C63000A MANUAL EPSON 159
(S1C63 FAMILY ASSEMBLER PACKAGE)
8.9.3 Program Memory Operation
a / as (assemble mnemonic)
Function
This command assembles the input mnemonic and rewrites the corresponding code to the program
memory at the specified address.
Format
(1) >a <address> <mnemonic> [<file name>] (direct input mode)
(2) >a [<address>] (guidance mode)
Start address ? : <address> ... Displayed only when <address> is omitted.
Address Original code Original mnemonic
: <mnemonic>
..........
>
<address>: Start address from which to write code; hexadecimal or symbol (IEEE-695 format only)
<mnemonic>: Input mnemonic; valid mnemonic of S1C63000 (expression and symbols are supported)
<file name>: File in which the symbol used in the operand was defined.
Condition: 0 address last program memory address
Examples
Format (1)
>a 200 "ld %a,f" ... Assembles "LD %A,0xF" and rewrites the code at address 0x200.
Format (2)
>a
Start address ? 200 ... Address is input.
0200 1ff6 ld %a,%f : add %a,%b ... Mnemonic is input.
Source file name (enter to ignore) ? ... Ignored
0201 1fff *nop : ^ ... Returned to previous address.
0200 1972 add %a,%b : ... Input is skipped.
0201 1fff *nop : q ... Command is terminated.
>
Source file name should be entered when a symbol/label is used as the operand. Specify the source
file name in which the symbol was defined.
0200 1972 add %a,%b : jr LOOP ... Symbol is used.
Source file name (enter to ignore) ? main.s ... Source file name is input.