Displaying 1 result from an estimated 1 matches for "al_reg".
Did you mean:
il_reg
2001 May 18
1
RFC-interupt31-sv/restore
...*/
#ifdef __386__
/* an array to save the context in */
WORD svctx[];
/* return the address of the SaveRestore function */
/* assembly code to get the function call address of
SaveRestore() and return the address in the form CX:DX */
VOID SaveRestore()
{
_GET_CONTEXT;
if AL_reg(context) /* AL=1 means restore. AL=0 means save. */
{
/* restore all registers */
AL_reg(context)=svctx[0]; /* actually, eax is volatile */
AH_reg(context)=svctx[1];
AL_reg(context)=svctx[2];
AL_reg(context)=svc...