From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Dumb questions to you but important to me Date: Tue, 30 Sep 1997 18:35:02 -0400 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 15 Message-ID: <34317E96.1D0@cam.org> References: NNTP-Posting-Host: dynappp-179.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Arthur Bredrick wrote: > Another question not DJGPP specific: Why do extra underscores precede > identifiers when interfacing between assembly and c? For example, the > assembly function _keyboard_init would be c-callable as just keyboard_init, > without the extra underscore. Thanks for any help. this is not DJGPP specific. This is the rule for accessing C variables and functions from assembly and vice-versa. The variable booga in C will be _booga in ASM. > Art -- --> http://www.cam.org/~tudor <-- Go ahead and build another Messiah We dig another grave...