Return to previous page Return to menu Go to next page

Numeric constant

 Numerical constants are numerical values ​​themselves.
Binary
Octal
Decimal
Hex
there is. 
 Expression method Format Example 
 2% bbbbb bbbB% 0111 1000B 
 8         qqQ qqO          017Q 11O
10         dddd             10 255 1000
 16 $ hhhh hhhhH $ FF1000H 

B: b: 0 or 1
Q: q: 0-7
Sd d: 0-9
H: h: 0-9 A-F

Character constant

The
character constant assumes one or two characters enclosed in '(quotation marks) as an ASCII code and takes a value.
 
'A' ……………… 61H
'Ab' ……………… 6162H 

Location mark

The
location mark is indicated by “*” and is the location counter value at that time.
 
ABC EQU *
XXXX * + 2 


Return to previous page Return to menu Go to next page