Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!mtecv2!al198723 From: al198723@mtecv2.mty.itesm.mx (SANCHEZ P JESUS E) Newsgroups: comp.lang.c Subject: Re: ACCESS REGISTERS FROM TURBO C?? Message-ID: <2706@mtecv2.mty.itesm.mx> Date: 21 Nov 90 15:29:23 GMT References: <11475@j.cc.purdue.edu> Organization: Instituto Tecnologico y de Estudios Superiores de Monterrey Lines: 16 zhou@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@mtecv2.mty.itesm.mx "Si os dan papel pautado, escribid por el otro lado" Juan Ramon Jimenez