home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
turpas70.zip
/
GDOS.INC
next >
Wrap
Text File
|
2000-09-03
|
2KB
|
83 lines
IDEAL
IFDEF i386
P386N
model USE16 large,Pascal
ELSE
P286N
model large,Pascal
ENDIF
%PAGESIZE 255,255
%LINUM 3
%TABSIZE 0
typedef PRegisters far ptr TRegisters
struc TRegisters
union
struc ; ##<- numerical offset in hexedecimal
EDI dd ? ; 00 Union of structure EDI to EXX
ESI dd ? ; 04
EBP dd ? ; 08
EXX dd 0 ; 0C
ends
struc
DI dw ? ; 00 and structure DI to XXH
DIH dw ? ;
SI dw ? ; 04
SIH dw ? ;
BP dw ? ; 08
BPH dw ? ;
XX dw 0 ; 0C
XXH dw 0 ;
ends
ends
union ; Union of structure EBX to EAX
struc
EBX dd ? ; 10
EDX dd ? ; 14
ECX dd ? ; 18
EAX dd ? ; 1C
ends
struc
BX dw ? ; 10 and structure BX to AXH
BXH dw ? ;
DX dw ? ; 14
DXH dw ? ;
CX dw ? ; 18
CXH dw ? ;
AX dw ? ; 1C
AXH dw ? ;
ends
struc
BL db ? ; 10 and structure BL to AHHr
BH db ? ; 11
BLH db ? ;
BHH db ? ;
DL db ? ; 14
DH db ? ; 15
DLH db ? ;
DHH db ? ;
CL db ? ; 18
CH db ? ; 19
CLH db ? ;
CHH db ? ;
AL db ? ; 1C
AH db ? ; 1D
ALH db ? ;
AHH db ? ;
ends
ends
Flags dw ? ; 20 This lot are common to all
ES dw ? ; 22
DS dw ? ; 24
FS dw 0 ; 26
GS dw 0 ; 28
IP dw ? ; 2A
CS dw ? ; 2C
SP dw 0 ; 2E
SS dw 0 ; 30
ends TRegisters