Epson S5U1C63000A Computer Accessories User Manual


 
CHAPTER 4: ASSEMBLER
S5U1C63000A MANUAL EPSON 63
(S1C63 FAMILY ASSEMBLER PACKAGE)
4.7 Assembler Pseudo-Instructions
The assembler pseudo-instructions are not converted to execution codes, but they are designed to control
the assembler or to set data.
For discrimination from other instructions, all the assembler pseudo-instructions begin with a character
"#" or ".". The instructions that begin with "#" are preprocessed pseudo-instructions and they are ex-
panded into forms that can be assembled. The expanded results are delivered in the preprocessed file
(.ms). The original statements of the pseudo-instructions (#) are changed as comments by attaching a ";"
before delivering to the file. The instruction that begins with "." are used for section and data definitions.
They are not converted at the preprocessing stage.
All the pseudo-instruction characters are not case sensitive.
The following pseudo-instructions are available in the assembler:
Pseudo-instruction Function
#include Includes another source.
#define Defines a constant string.
#defnum Defines a constant number. (1)
#macro#endm Defines a macro.
#ifdef#else#endif Defines an assemble condition.
#ifndef#else#endif Defines an assemble condition.
.abs Specifies absolute assembling. (1)
.align Sets alignment of a section.
.org Sets an absolute address.
.code Declares a CODE section (mapping to the built-in code ROM).
.data Declares a DATA section (mapping to the built-in data ROM).
.bss Declares a BSS section (mapping to the built-in RAM).
.codeword Defines data in the CODE section.
.word Defines data in the DATA section.
.comm Secures a global area in the BSS section.
.lcomm Secures a local area in the BSS section.
.global Defines an external reference symbol.
.set Defines an absolute address symbol.
.list Controls assembly list output.
.nolist Controls assembly list output.
.stabs Debugging information (source name).
.stabn Debugging information (line number).
1: Maintained only for compatibility with the older assembler.