Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!rti!dg-rtp!gamecock!hagins From: hagins@gamecock.rtp.dg.com (Jody Hagins) Newsgroups: comp.lang.c Subject: Re: ACCESS REGISTERS FROM TURBO C?? Message-ID: <1990Dec5.174723.29367@dg-rtp.dg.com> Date: 5 Dec 90 17:47:23 GMT References: <11475@j.cc.purdue.edu> <2706@mtecv2.mty.itesm.mx> <2526@wn1.sci.kun.nl> Sender: usenet@dg-rtp.dg.com (Usenet Administration) Reply-To: hagins@gamecock.rtp.dg.com (Jody Hagins) Organization: Data General Corporation, Research Triangle Park, NC Lines: 36 In article <2526@wn1.sci.kun.nl>, ge@wn3.sci.kun.nl (Ge' Weijers) writes: |> 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. But isn't that part of the fun? Finding out just how much rope you can give yourself without swinging :-) |> |> 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) |> -- Jody Hagins hagins@gamecock.rtp.dg.com Data General Corp. 62 Alexander Dr. RTP, N.C. 27709 (919) 248-6035 Brought to you by Super Global Mega Corp .com