Xref: news2.mv.net comp.os.msdos.djgpp:6898 From: robert DOT fremin AT mailbox DOT swipnet DOT se (Robert Fremin) Newsgroups: comp.os.msdos.djgpp Subject: Re: Accessing Variables in Inline ASM Date: Tue, 06 Aug 1996 09:37:07 GMT Organization: - Lines: 17 Message-ID: <32071221.337749155@nntpserver.swip.net> References: <4u3gsj$5qe AT srvr1 DOT engin DOT umich DOT edu> NNTP-Posting-Host: dialup103-5-4.swipnet.se NNTP-Posting-User: s-11567 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 5 Aug 1996 00:56:51 GMT, dbarrett AT news-server DOT engin DOT umich DOT edu (David M Barrett) wrote: >Ok, I'm starting to get the hang of inline ASM, but I just can't find a >good reference on how to access variables via inline ASM. I've heard >that you must declare everything globally, but this can't be the best >solution. Does anyone know a better way, or a place where I could read >up on the subject? If I declare a variable within a function, how can I >use that variable in my inline ASM routine? If the function is >recursive, how will that affect things? Thanks! > Read this: http://www.rt66.com/~brennan/djgpp/djgpp_asm.html /Robert Fremin