Example of Convention
Description of Convention
Repeating elements...
Three dots following an item signify that more items with the
same form may be entered. For example, the directive PUB-
LIC has the following form:
PUBLIC
name1
[,
name2
[,...]]
In the above form, the three dots following
name2
indicate
that many names can be entered as long as each is pre-
ceded by a comma.
Statement Syntax
The construction of each statement is as follows:
[
name
] [
operation
] [
operands
] [;
comment
]
·
All fields are optional.
·
Each field (except the comment field) must be separated from other fields by at least one space
or one tab character.
·
Fields are not case-sensitive, i.e., lower-case characters are changed to upper-case characters
before processing.
Name
Statements can be assigned labels to enable easy access by other statements. A name consists
of the following characters:
A~Z a~z 0~9 ? _ @
with the following restrictions:
·
0~9 cannot be the first character of a name
·
? cannot stand alone as a name
·
Only the first 31 characters are recognized
Operation
The operation defines the statement action of which two types exist, directives and instructions. Di-
rectives give directions to the Cross Assembler, specifying the manner in which the Cross Assem-
bler is to generate the object code at assembly time. Instructions, on the other hand, give
directions to the processor. They are translated to object code at assembly time, the object code in
turn controls the behavior of the processor at run time.
Operand
Operands define the data used by directives and instructions. They can be made up of symbols,
constants, expressions and registers.
102
A/D Type MCU
Содержание HT46R22
Страница 7: ...vi A D Type MCU...
Страница 9: ...viii A D Type MCU...
Страница 10: ...P a r t I Microcontroller Profile Part I Microcontroller Profile 1...
Страница 11: ...2 A D Type MCU...
Страница 90: ...P a r t I I Programming Language Part II Programming Language 81...
Страница 91: ...82 A D Type MCU...
Страница 97: ...88 A D Type MCU...
Страница 128: ...P a r t I I I Development Tools Part III Development Tools 119...
Страница 129: ...120 A D Type MCU...
Страница 140: ...Appendix Appendix 131...
Страница 141: ...132 A D Type MCU...
Страница 151: ...142 A D Type MCU...
Страница 152: ...A p p e n d i x B Package Information Appendix B Package Information 143 B...
Страница 161: ...A D Type MCU...
Страница 162: ...Amendments...