;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ CallInstall MACRO name,mpx,fn,save,restore BREAK MACRO subtitle SUBTTL subtitle PAGE ENDM .xcref break IF Installed IFNB SaveReg ENDIF MOV AX,(mpx SHL 8) + fn INT 2Fh IFNB RestoreReg ENDIF ELSE Invoke name ENDIF ENDM BREAK SaveReg MACRO reglist ;; push those registers IRP reg, ?stackdepth = ?stackdepth + 1 PUSH reg ENDM ENDM .xcref SaveReg BREAK RestoreReg MACRO reglist ;; pop those registers IRP reg, ?stackdepth = ?stackdepth - 1 POP reg ENDM ENDM .xcref RestoreReg