Xref: news2.mv.net comp.os.msdos.djgpp:6363 From: Luke Steele Newsgroups: comp.os.msdos.djgpp Subject: Referencing local variables with inline assembly. Date: Wed, 24 Jul 1996 14:34:46 GMT Organization: INTERact BBS UK (01753) 775533 Lines: 15 Message-ID: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi, How do you reference local variables with inline assembly? I _have_ read the GCC documentation on the subject, but I cannot work out what to do. A few lines of code demonstating how to do this would be great. Secondly: Which segment registers are used by the compiler, and so which ones can I use without worrying about their values becoming corrupted? -- Luke Steele (luke AT jags DOT co DOT uk)