MASM Operators reference
Arithmetic
Control Flow
!
(runtime logical not)
!=
(runtime not equal)
||
(runtime logical or)
&&
(runtime logical and)
<
(runtime less than)
Logical and Shift
Macro
Miscellaneous
' '
(treat as string)
" "
(treat as string)
:
(local label definition)
::
(register segment and offset)
::
(global label definition)
Record
Relational
Segment
:
(segment override)
::
(register segment and offset)
IMAGEREL
(image relative offset)
Type
HIGH
(high 8 bits of lowest 16 bits)
HIGH32
(high 32 bits of 64 bits)
HIGHWORD
(high 16 bits of lowest 32 bits)
LENGTH
(number of elements in array)
LENGTHOF
(number of elements in array)
LOW
(low 8 bits)