Program Memory Operation; A / As (Assemble Mnemonic) - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

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>]
(2) >a [<address>]
Start address ? : <address>
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
Examples
Format (1)
>a 200 "ld %a,f"
Format (2)
>a
Start address ? 200
0200
1ff6
ld
Source file name (enter to ignore)
0201
1fff
*nop
0200
1972
add
0201
1fff
*nop
>
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
Source file name (enter to ignore)
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
address
last program memory address
... Assembles "LD %A,0xF" and rewrites the code at address 0x200.
%a,%f
: add %a,%b
: ^
%a,%b
:
: q
%a,%b
: jr LOOP
(direct input mode)
(guidance mode)
... Displayed only when <address> is omitted.
... Address is input.
... Mnemonic is input.
... Ignored
?
... Returned to previous address.
... Input is skipped.
... Command is terminated.
... Symbol is used.
... Source file name is input.
? main.s
EPSON
CHAPTER 8: DEBUGGER
159

Advertisement

Table of Contents
loading

Table of Contents