New Keywords Near16, Near32, Far16 and Far32 in MASM
Article ID: 119517
Article Last Modified on 2/11/2004
APPLIES TO
- Microsoft Macro Assembler 6.1 Standard Edition
- Microsoft Macro Assembler 6.1a
- Microsoft Macro Assembler 6.11 Standard Edition
This article was previously published under Q119517
SUMMARY
In MASM 6.1 there are four new distance specifiers: near16, near32,
far16, and far32.
A near pointer consists of an offset. A near16 pointer is a near pointer
that consists of a 16 bit offset. A near32 pointer is a near pointer
consisting of a 32 bit offset. A far pointer is a pointer that consists of
both a segment and an offset. A far16 pointer is a far pointer that
consists of a segment and a 16 bit offset. A far32 pointer is a far pointer
consisting of a segment and a 32 bit offset. Segments are always 16 bits.
Note: near32 and far32 pointers are only available on 386 and successive
processors.
Additional query words: kbinf 6.10
Keywords: KB119517