;*** ;mrt386.inc - include to aid in generating 386 code ; ; Copyright (c) 1988-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; This file reproduces a few of the cMacro macros. ; ;Revision History: ; 08-24-88 WAJ Initial version. ; ;******************************************************************************* ifdef I386 ; Define Near Code Pointer DNCPTR equ
else DNCPTR equ endif ifdef I386 if sizeD DPWORD equ else DPWORD equ endif DFPWORD equ DNPWORD equ else ;not I386 if sizeD DPWORD equ else DPWORD equ endif DFPWORD equ DNPWORD equ endif ;not I386 ifdef I386 if sizeC CPWORD equ else CPWORD equ endif CFPWORD equ CNPWORD equ else ;not I386 if sizeC CPWORD equ else CPWORD equ endif CFPWORD equ CNPWORD equ endif ;not I386 MOVRW macro reg, word ;; move a word into a register ifdef I386 % movzx reg, (word) else % mov reg, (word) endif endm ifdef I386 RBXONLY equ RBXUSED equ else ;not I386 RBXONLY equ RBXUSED equ <> endif ;not I386 ifdef I386 ife sizeC ife sizeD FLAT386 equ endif endif endif ifflat macro code ifdef FLAT386 code endif endm noflat macro code ifndef FLAT386 code endif endm