From: Jim Schwarz x3-2961 Newsgroups: comp.os.msdos.djgpp Subject: Re: Assembler question Date: Thu, 09 Oct 1997 17:07:33 -0400 Organization: Lockheed Martin - Information Systems Lines: 16 Message-ID: <343D4795.5EBE@escmail.orl.mmc.com> References: <61aujq$1mm3$1 AT power DOT ci DOT uv DOT es> NNTP-Posting-Host: marino.orl.lmco.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Marsel wrote: > > Hi, > Can I get the address of the program counter in a C program ? > Not sure what you looking for here, but you can use inline assembly for sure. Jim -- James E. Schwarz, Jr. PE Staff Systems Engineer - Armor Programs Lockheed Martin Corporation Information Systems 12506 Lk Underhill Rd. MP 823 Orlando, Fla 32825 Voice: (407)306-2961