APPENDIX B CREATING PROCEDURE OF ASSEMBLY SOURCE FILE (Sub tool chain)
254
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
B.3.5 External Definition and External Reference Pseudo-Instructions
External definition and external reference pseudo-instructions are the pseudo-instructions to define and
refer symbols which are commonly used between modules.
• External reference pseudo-instruction
.....
EXTERNAL
• External definition pseudo-instruction
.....
PUBLIC
Name:
EXTERNAL
..
Symbol external definition declaration
Format:
EXTERNAL <symbol> {,<symbol>}*
Functions:
EXTERNAL and PUBLIC instructions are used so that the same symbol will be used between multiple
modules. Declaration must be done with an EXTERNAL instruction to reference symbols not defined
within the self-module, but rather defined within other modules. If a declaration is made in EXTER-
NAL, it will simultaneously be made in PUBLIC as well.
Example:
external
sqrt
carl
sqrt
Related item:
PUBLIC
Name:
PUBLIC
.....Global declaration of symbol
Format:
PUBLIC <symbol> {,<symbol>}*
Functions:
When optional symbols are used in multiple modules, they are declared with the PUBLIC and
EXTERNAL instructions. PUBLIC is used for declaration of symbols, such that there is a definition
within the self-module that permits reference from other modules.
Example:
public sqrt
;
SQRT permits reference from other modules
sqrt:
;
Routine that computes the square root of an integer
.....
etc.
Related item:
EXTERNAL
Содержание S1C88 Series
Страница 4: ......
Страница 304: ......
Страница 305: ...S1C88 Family Development Tools Quick Reference ...