32 lines
878 B
Plaintext
32 lines
878 B
Plaintext
|
2. Numeric constants.
|
||
|
═════════════════════
|
||
|
|
||
|
The numeric constants are used at assigning the numeric operand,
|
||
|
the addresses transition and load constants. The sign of the constant
|
||
|
is a value at the beginning of initially mnemonics. "COMANDOR"
|
||
|
distinguishes four main forms of the value assign:
|
||
|
|
||
|
1) decimal form:
|
||
|
10
|
||
|
0
|
||
|
65535
|
||
|
|
||
|
2) hexadecimal form:
|
||
|
0Ah
|
||
|
15H
|
||
|
0FFFFh
|
||
|
|
||
|
3) octonary form:
|
||
|
7o
|
||
|
177777o
|
||
|
|
||
|
4) binary form:
|
||
|
011%
|
||
|
1111111111111111%
|
||
|
|
||
|
All constants cannot exceed size of the machine word.
|
||
|
|
||
|
Except direct assign of the constant in command You may refer to the
|
||
|
current Pointer of the Command CP. The Assembler transforms it in the
|
||
|
current numerical value of the Command Pointer .
|