Return to previous page Return to menu Go to next page

■ About the formula

The
expression can be used freely for instructions and operands.
The elements that make up an expression are:
 symbol
operator
Constant (numeric or character)
Location mark 

Symbol

The
symbol is used when a character string defined as a label is used in an expression.

operator

The following table shows the
operators. The operator precedence is also shown in the table.

 operator 
 Meaning 
 Priority 
 * 
 Multiplication 
 1
 / 
 Division 
 MOD
 remainder 
 + 
 Addition 
 2
 Subtraction 
 SHR
 Shift right 
 3
 SHL
 Shift left 
 LAND
 Logical AND 
 4
 LOR
 Logical OR 
 LXOR
 Logical XOR 
 EQ
 equal 
 5
 NE
 not equal 
 LT 
 less 
 LE 
 equal or less 
 GT 
greater than
 
 GE 
 equal or greater 
 NOT
 1's complement (Z80 only) 
 6
 NOT1
 1's complement (68K only) 
 HIGH
 upper byte 
 LOW
 low byte 


Return to previous page Return to menu Go to next page