delorie.com/archives/browse.cgi | search |
From: | "Rylan" <rylan AT intekom DOT co DOT za> |
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: | <johnfine AT erols DOT com> |
Message-ID: | <6r53ca$afu$1@winter.news.erols.com> |
Reply-To: | "Rylan" <rylan AT inbtekom DOT co DOT za> |
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 |
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?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |