Operation
The operation defines the statement action of which two types exist,
directives and instructions. Directives give directions to the assembler,
specifying the manner in which the assembler 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 controlling 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.
Comment
Comments are the descriptions of codes. They are used for documentation
only and are ignored by the assembler. Any text following a semicolon is
considered a comment.
Assembly Directives
Directives give direction to the assembler, specifying the manner in which
the assembler generates object code at assembly time. Directives can be
further classified according to their behavior as described below.
Conditional-Assembly directives
The conditional block has the following form:
IF
statements
[ELSE
statements]
ENDIF
→
Syntax
IF
expression
IFE
expression
•
Description
The directives IF and IFE test the expression following them.
The IF directive grants assembly if the value of the expression is true, i.e.
non-zero.
The IFE directive grants assembly if the value of the expression is false,
i.e. zero.
Chapter 10 Assembly Language and Cross Assembler
117
Summary of Contents for HT-IDE
Page 11: ...P a r t I Integrated Development Environment Part I Integrated Development Environment 1 ...
Page 12: ...HT IDE User s Guide 2 ...
Page 20: ...Fig 1 6 Fig 1 7 HT IDE User s Guide 10 ...
Page 24: ...HT IDE User s Guide 14 ...
Page 70: ...HT IDE User s Guide 60 ...
Page 76: ...HT IDE User s Guide 66 ...
Page 92: ...HT IDE User s Guide 82 ...
Page 93: ...P a r t I I Development Language and Tools Part II Development Language and Tools 83 ...
Page 94: ...HT IDE User s Guide 84 ...
Page 148: ...HT IDE User s Guide 138 ...
Page 150: ...Fig 12 1 Fig 12 2 HT IDE User s Guide 140 ...
Page 154: ...HT IDE User s Guide 144 ...
Page 192: ...HT IDE User s Guide 182 ...
Page 194: ...HT IDE User s Guide 184 ...
Page 218: ...HT IDE User s Guide 208 ...
Page 235: ...P a r t V Appendix Part V Appendix 225 ...
Page 236: ...HT IDE User s Guide 226 ...
Page 250: ...HT IDE User s Guide 240 ...