From: "Rylan" Newsgroups: comp.os.msdos.djgpp,comp.lang.asm.x86 Subject: Accessing C #define in inline assembly Date: 15 Aug 1998 22:50:50 GMT Organization: The South African Internet Exchange Lines: 26 Approved: Message-ID: <6r53ca$afu$1@winter.news.erols.com> Reply-To: "Rylan" NNTP-Posting-Host: 207-172-243-128.s1.as9.bsd.erols.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, In DJGPP inline assembly, how can I access symbols "#defined" in the C file in which the relevant inline assembly occurs? I have the following define: #define TIMEOUT 9000 How can I access this in inline assembler: __asm__ __volatile__ (" mov ??????,%cx "); Any reply appreciated! Fanx! -- Spawned By Rylan Is truth beauty or beauty truth?