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.
72 lines
1.3 KiB
72 lines
1.3 KiB
;++
|
|
;
|
|
; Copyright (c) 1989 Microsoft Corporation
|
|
;
|
|
; Module Name:
|
|
;
|
|
; cpu.inc
|
|
;
|
|
; Abstract:
|
|
;
|
|
; This module contains the assembly structures and definitions
|
|
; for INTEL 80x86 CPU specifiec information. This include file
|
|
; is mainly used by CPU.ASM to determine CPU type and stepping
|
|
; number.
|
|
;
|
|
; Author:
|
|
;
|
|
; Shie-Lin (shielint) 1-Oct-1991
|
|
;
|
|
; Revision History:
|
|
;
|
|
;--
|
|
|
|
;
|
|
; The following equates define the control bits of CR0 register
|
|
;
|
|
|
|
CR0_AM equ 40000h
|
|
CR0_ET equ 00010h
|
|
|
|
;
|
|
; The following equates define the control bits of EFALGS register
|
|
;
|
|
|
|
EFLAGS_AC equ 40000h
|
|
EFLAGS_VM equ 20000h
|
|
EFLAGS_RF equ 10000h
|
|
EFLAGS_NF equ 4000h
|
|
EFLAGS_IOPL equ 3000h
|
|
EFLAGS_IF equ 200h
|
|
EFLAGS_TF equ 100h
|
|
|
|
|
|
;
|
|
; define the structure type for real mode interrupt vectore
|
|
;
|
|
|
|
RealModeVector struc
|
|
|
|
VectorOffset dw 0
|
|
VectorSegment dw 0
|
|
|
|
RealModeVector ends
|
|
|
|
;
|
|
; Define the iret frame
|
|
;
|
|
|
|
IretFrame struc
|
|
|
|
IretIp dw 0
|
|
IretCs dw 0
|
|
IretFlags dw 0
|
|
|
|
IretFrame ends
|
|
|
|
;
|
|
; Misc. definitions
|
|
;
|
|
|
|
ADDRESS_OVERRIDE equ 67h
|
|
OPERAND_OVERRIDE equ 66h
|