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.
Word Size Equate
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   @WordSize
 
  See also: OPTION SEGMENT:, FLAT Memory Model, .386, .486
 
  Description:
 
     Predefined equate returning the size of a word. In default 16-bit
     mode, @WordSize returns 2. On 80386/486 processors in a 32-bit
     segment (such as the FLAT model), @WordSize returns 4.
 
     Outside of a segment this equate returns the default word size as
     set by a processor selection directive or the OPTION SEGMENT:
     directive.
                                    -♦-