Xref: news2.mv.net comp.os.msdos.djgpp:6817 From: dbarrett AT srvr1 DOT engin DOT umich DOT edu (David M Barrett) Newsgroups: comp.os.msdos.djgpp Subject: Accessing Variables in Inline ASM Date: 5 Aug 1996 00:56:51 GMT Organization: University of Michigan Engineering, Ann Arbor Lines: 14 Message-ID: <4u3gsj$5qe@srvr1.engin.umich.edu> NNTP-Posting-Host: blazers.engin.umich.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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! -David :) ----------------------------------------------------------------------------- David M. Barrett :) | University of Michigan / CAEN Hotline dbarrett AT engin DOT umich DOT edu | http://www-personal.engin.umich.edu/~dbarrett -----------------------------------------------------------------------------