Unary address operators assume DS as the default segment for addresses. Expressions are evaluated in order of operator precedence. If adjacent operators have equal precedence, the expression is evaluated from left to right. Use parentheses to override this order.
For symbols with the same character sequence as reserved words (for example, register names and operators), prefix the symbol name with an at sign (@) to force symbol access.
The unary operators are listed below:
Operator | Meaning |
---|---|
+ | Unary plus |
- | Unary minus |
not | one's complement |
hi | High 16-bits |
low | Low 16-bits |
by | Low-order byte from given address |
wo | Low-order word from given address |
dw | Double-word from given address |
poi | Pointer from given address (same as dw) |