Epson S5U1C63000A Computer Accessories User Manual


 
Assembler as63 (1)
Development Tools
Outline
Converts the mnemonic of the source files into object codes (machine
language) of the S1C63000. The results are output in a relocatable object file.
This assembler includes preprocessing functions such as macro definition/call,
conditional assembly, and file-include functions.
Flowchart
Assembler
as63
file.s
Assembly source file
file.o
file.ms
file.lst
Object fileRelocatable
list file
file.err
Error filePreprocessed
source file
to Linker
Start-up Command Usage
Usage: as63 [options] <file name>
Options: -d <symbol> Add preprocess definition
-e Output error log file (.ERR)
-g Add source debug information in object
-l Output relocatable list file (.LST)
-c Ignore character case of symbols
-o <file name> Specify output file name
File name: Source file name (.S or .MS)
Pseudo-instructions
#include <file name> Inserts other file in the source file.
#define <define name> [<string>] Defines a character string with a define name.
#defnum <defnum name> <value> Defines a value with a defnum name.
#macro <macro name> [par] [,par] ... Defines a statement string with a macro name.
<statements> (par: Dummy parameters)
#endm
#ifdef <name> Conditional assembling
<statements 1> <name> defined: <statements 1> is assembled.
[#else <name> undefined: <statements 2> is assembled.
<statements 2>]
#endif
#ifndef <name> Conditional assembling
<statements 1> <name> undefined: <statements 1> is assembled.
[#else <name> defined: <statements 2> is assembled.
<statements 2>]
#endif
.code Declares the start of a CODE section.
.data Declares the start of a DATA section.
.bss Declares the start of a BSS section.
.abs Specifies absolute assembling.
.org <address> Specifies an absolute address.
.align <alignment number> Specifies alignment of a section.
.comm <global symbol> <size> Defines a global symbol and secures memory area in a
bss section.
.lcomm <local symbol> <size> Defines a local symbol and secures memory area in a
bss section.
.set <symbol> <address> Defines an absolute address for a symbol.
.global <symbol> Declares the symbol as global.
.codeword <data>[ <data> ... <data>] Defines codes in the CODE section.
.word <data>[ <data> ... <data>] Defines data in the DATA section.
.list Turns output ON(.list)/OFF(.nolist) in the assembly list
.nolist file. (Effective only when the -l option is specified)
.stabs "<file name>", FileName Outputs source information for debugging.
.stabn 0, FileEnd (Effective only when the -g option is specified)
.stabn <line number>, LineInfo