ACCESS REGISTERS FROM TURBO C??
SANCHEZ P JESUS E
al198723 at mtecv2.mty.itesm.mx
Thu Nov 22 02:29:23 AEST 1990
zhou at brazil.psych.purdue.edu (Albert Zhou) writes:
>This question might be silly to some of you. How can I directly access
>registers from Turbo C?
You can access the pseudovariables:
_AX, _BX, _CX, _DX, _SI, _DI, _BP, _SP, _ES
(I'm not sure about _CS, _DS, _SS)
They correspond to the 8086 registers, and you may access them freely
in your program.
Eugenio Sanchez
al198723 at mtecv2.mty.itesm.mx
"Si os dan papel pautado, escribid por el otro lado"
Juan Ramon Jimenez
More information about the Comp.lang.c
mailing list