;*** ;memmacs.inc - defines macros to to handle different memory models easier. ; ; Copyright (c) 1989-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; This file defines the macros that handle different memory models. ; ;Revision History: ; ; 01-23-89 WAJ Initial version copied from cruntime.inc ; 11-01-89 WAJ Added IWORD/ISIZE ; 11-01-89 WAJ Added PCS ; 11-01-89 WAJ Added short condition jmps for 386 code ; ;******************************************************************************* ;******************************************************************************* ;* ;* Define load pointer and segment override macros. ;* ;******************************************************************************* if sizeD LPES equ LPDS equ PDS equ PES equ else LPES equ LPDS equ PDS equ <> PES equ <> endif ifdef I386 LFPES equ LFPDS equ FPES equ <> FPDS equ <> else LFPES equ LFPDS equ FPES equ FPDS equ endif ifdef SS_NEQ_DGROUP PSS equ ; SS != DS else PSS equ <> ; SS == DS endif ifdef I386 PCS equ <> else PCS equ endif ;******************************************************************************* ;* ;* Define IWORD and ISIZE. ;* ;******************************************************************************* ifdef I386 IWORD equ ISIZE equ 4 else IWORD equ ISIZE equ 2 endif ;******************************************************************************* ;* ;* Define short conditional jumps for 386 code. ;* ;******************************************************************************* irp x, JS&x equ JSN&x equ endm