Global Declaration Pseudo-Instruction (.Global) - Epson S5U1C62000A Manual

Epson cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

CHAPTER 5: ASSEMBLER

5.7.10 Global Declaration Pseudo-Instruction (.global)

Instruction format
.global
<Symbol>
<Symbol>:
Symbol to be defined in the current file, or symbol already defined in other module
• One or more spaces or tabs are necessary between the instruction and the symbol.
Sample description:
.global
GENERAL_SUB1
Function
Makes global declaration of a symbol. The declaration made in a file with a symbol defined converts
that symbol to a global symbol which can be referred to from other modules. Prior to making refer-
ence, declaration has to be made by this instruction on the side of the file that is going to make the
reference.
80
EPSON
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
S5U1C62000A MANUAL

Advertisement

Table of Contents
loading

Table of Contents