HIGH Return high-order Operator
HIGH expression ; Ideal or MASM mode
Returns the high 8 bits of expression.
addrtype HIGH expression ; Ideal mode
Converts expression to the specified address subtype (type override).
addrtype must be smaller in size than the type of the expression; the
resulting address is adjusted to point to the high part of the object
described by the address expression.
Examples: Ideal
big dd 12345678h
mov ax,[WORD big] ;ax = 5678h
mov al,[BYTE PTR big] ;al = 78h
mov ax,[WORD HIGH big] ;ax = 1234h
mov ax,[WORD LOW big] ;ax = 5678h
mov al,[BYTE LOW WORD HIGH big] ;al = 3rd byte = 34h