Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
;*** ;mm.inc - macros to write memory model dependent code ; ; Copyright (c) 1987-1994, Microsoft Corporation. All rights reserved. ; ;Purpose: ; This file contains definitions of a number of macros which ; make the writing of memory model dependent code for the ; 386 a little easier and more portable. ; ;*******************************************************************************
; general code & data size constants & macros
DAT_ADDR_SZ = 4 BDAT_ADDR_SZ = 2
TXT_ADDR_SZ = 4
; Big/Little Endian Definitions for Long Integers
ifdef bigend ; Big Endian (hi word at low address) LOWORD equ [4] HIWORD equ [0] else ; Little Endian (low word at low address) LOWORD equ [0] HIWORD equ [4] endif
; All Model Definitions
BPARGBAS equ TXT_ADDR_SZ+4 ; offset from BP to first argument
|