Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!sci.kun.nl!wn3.sci.kun.nl!ge From: ge@wn3.sci.kun.nl (Ge' Weijers) Newsgroups: comp.lang.c Subject: Re: ACCESS REGISTERS FROM TURBO C?? Message-ID: <2526@wn1.sci.kun.nl> Date: 3 Dec 90 13:28:50 GMT References: <11475@j.cc.purdue.edu> <2706@mtecv2.mty.itesm.mx> Sender: root@sci.kun.nl Lines: 18 al198723@mtecv2.mty.itesm.mx (SANCHEZ P JESUS E) writes: >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. Yeah, like in _SP = 0x4561; There is more than enough rope to hang yourself here. Caveat programmer. Ge' Weijers -- Ge' Weijers Internet/UUCP: ge@cs.kun.nl Faculty of Mathematics and Computer Science, (uunet.uu.net!cs.kun.nl!ge) University of Nijmegen, Toernooiveld 1 6525 ED Nijmegen, the Netherlands tel. +3180652483 (UTC-2) Brought to you by Super Global Mega Corp .com