
24 0007 1780
R1 sdz BCnt
24 0008 2802
1 jmp ??0000
25 0009
end
0 Errors
Assembly Instructions
The syntax of an instruction has the following form:
[name:] Mnemonic [operand1[,operand2]] [;comment]
where
name:
→
label name
Mnemonic
→
instruction name (keywords)
operand1
→
registers
memory address
operand2
→
registers
memory address
immediate value
Name
A name is made up of letters, digits, and special characters, and is used as
a label.
Mnemonic
Mnemonic is an instruction name dependent upon the type of the microcon-
troller used in the source program. The microcontroller type needs to be
specified prior to the first instruction statement in the source program by
using the directive .CHIP.
Operand, operator and expression
Operands (source or destination) are the argument defining values that are
to be acted on by instructions. They can be constants, variables, registers,
expressions or keywords. When using the instruction statements, care
must be taken to select the correct operand type i.e. source operand or
destination operand. The dollar sign $ is a special operand, namely the
current location operand.
An expression consists of many operands that are combined to describe a
value or a memory location. The combined operators are evaluated at
HT-IDE User’s Guide
128
Содержание HT-IDE
Страница 11: ...P a r t I Integrated Development Environment Part I Integrated Development Environment 1 ...
Страница 12: ...HT IDE User s Guide 2 ...
Страница 20: ...Fig 1 6 Fig 1 7 HT IDE User s Guide 10 ...
Страница 24: ...HT IDE User s Guide 14 ...
Страница 70: ...HT IDE User s Guide 60 ...
Страница 76: ...HT IDE User s Guide 66 ...
Страница 92: ...HT IDE User s Guide 82 ...
Страница 93: ...P a r t I I Development Language and Tools Part II Development Language and Tools 83 ...
Страница 94: ...HT IDE User s Guide 84 ...
Страница 148: ...HT IDE User s Guide 138 ...
Страница 150: ...Fig 12 1 Fig 12 2 HT IDE User s Guide 140 ...
Страница 154: ...HT IDE User s Guide 144 ...
Страница 192: ...HT IDE User s Guide 182 ...
Страница 194: ...HT IDE User s Guide 184 ...
Страница 218: ...HT IDE User s Guide 208 ...
Страница 235: ...P a r t V Appendix Part V Appendix 225 ...
Страница 236: ...HT IDE User s Guide 226 ...
Страница 250: ...HT IDE User s Guide 240 ...