GPF_NORM	EQU	0        
GPF_USER	EQU	1        
CPU_286	EQU	0  
CPU_386	EQU	1  
CPU_486	EQU	2  
CPU_PENTIUM	EQU	3  
CPU_PENTIUM_PRO	EQU	4  
CPU_386B1	EQU	((386H   SHL  16 )  OR  0b1H )
CPU_386D1	EQU	((386H   SHL  16 )  OR  0d1H )
CPU_486B4	EQU	((486H   SHL  16 )  OR  0b4H )
CPU_PENTIUMXXX	EQU	((586H   SHL  16 )  OR  00H )
CPU_PENTIUMPROXXX	EQU	((686H   SHL  16 )  OR  00H )
CPU_INTEL	EQU	0  
CPU_CYRIX	EQU	1  
CPU_CYRIX_MASK	EQU	8  
E_EXT	EQU	0001H                   
E_IDT	EQU	0002H                   
E_SELMASK       equ     0fffch                  


GSEL            equ     offset DOSGDTDATA:      
















whatmode macro  reg
ifnb <reg>
        smsw    reg                     
        shr     reg,1                   
else
        push    ax                      
        smsw    ax                      
        shr     al,1                    
        pop     ax                      
endif
        endm













dd_whatmode macro   reg
        whatmode    reg
        endm

