ACCESS REGISTERS FROM TURBO C??

Jody Hagins hagins at gamecock.rtp.dg.com
Thu Dec 6 04:47:23 AEST 1990


In article <2526 at wn1.sci.kun.nl>, ge at wn3.sci.kun.nl (Ge' Weijers) writes:
|> al198723 at 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 at 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 at gamecock.rtp.dg.com    
Data General Corp.      
62 Alexander Dr.        
RTP, N.C.  27709        
(919) 248-6035          



More information about the Comp.lang.c mailing list