www.delorie.com/archives/browse.cgi | search |
Message-Id: | <s184bae4.076@MAIL.TAIT.CO.NZ> |
Date: | Mon, 29 Apr 1996 12:49:18 +1200 |
From: | Bill Currie <bill_currie AT MAIL DOT TAIT DOT CO DOT NZ> |
To: | djgpp AT delorie DOT com |
Subject: | Re: Getting the IP |
On 25/4/96 5:27 pm, <jkillen AT tinuviel DOT cs DOT wcu DOT edu> did thus say >>> > Does anyone know how to get the IP (Instruction Pointer) (the PC for you > > MIPS people) using gas or djgpp. > > Jason Killen > jkillen AT tinuviel DOT cs DOT wcu DOT edu gas code call 1f 1:popl %eax c or c++ asm("call 1f; 1: popl %0":"=g"(ip)); where ip is the destination variable Hope this helps Bill
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |