//-----------------------------------------------------
REGS (union) <DOS.H>
The union REGS is used to pass information to and from these functions:
int86 int86x intdos intdosx
union REGS {
struct WORDREGS x;
struct BYTEREGS h;
};
//-----------------------------------------------
BYTEREGS and WORDREGS <DOS.H>
Structures for storing byte and word registers
struct WORDREGS {
unsigned int ax, bx, cx, dx;
unsigned int si, di, cflag, flags;
};
//----------------------------------------------------
int86, int86x <DOS.H>
General 8086 software interrupt interfaces
Declaration:
■ int int86(int intno, union REGS *inregs, union REGS *outregs);
■ int int86x(int intno, union REGS *inregs, union REGS *outregs,
struct SREGS *segregs);
Remarks:
int86 and int86x execute an 8086 software interrupt specified by the argument intno.
With int86x, you can invoke an 8086 software interrupt that takes a value of DS different from the default data segment, and/or takes an argument in ES.