Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
High/Low-Order Word
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   HIGHWORD expression
            LOWWORD expression
 
  See also: HIGH, LOW, OFFSET
 
  Description:
 
     The HIGHWORD operator returns the high-order (most significant)
     word of <expression> in two's-complement form. The LOWWORD
     operator returns the low-order (least significant) word of
     <expression> in two's- complement form. The <expression> must
     resolve to a constant or an OFFSET expression. These are similar
     to the HIGH and LOW operators of MASM 5.1 except that
     HIGHWORD and LOWWORD can take only constants as operands,
     not relocatables (labels).
                                    -♦-