From: wanpsm98 AT octarine DOT cc DOT adfa DOT oz DOT au (WANKADIA PAUL SAPAL MICHAEL) Newsgroups: comp.os.msdos.djgpp Subject: Re: Inline assembly in djgpp Date: 14 May 98 11:32:26 GMT Lines: 42 Message-ID: References: <6jeij9$2dm$1 AT grissom DOT powerup DOT com DOT au> NNTP-Posting-Host: 131.236.253.20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk you AT somehost DOT somedomain (Herman Schoenfeld) writes: >>> Is there any possible way to use variable names in inline assembly? >>But of course! That's one of the main features of GCC's inline assembly. >Yeah, that's what they all say. So far it's nothing but an obsolete >implementation of a semi-functional assembler. My my ... you're still as insolent as ever ... you didn't learn your lessons from C_ECHO, C_PLUSPLUS or 80XXX, did you? >I'd much prefer watcoms #pragma aux, or borlands simple inline asm. It would >be nice if djgpp brought public register variables that could be easily >changed (like in borland). ie _EAX = 10; _EBX = 20; .. It would be nice if DJGPP wrote the code for us, but it doesn't do that either... >>The ``way around this'' is to read the documentation and use inline >>assembly like GCC Gods intended ;-). >The documentation is flawed at best. It does not cover anything >semi-useful about it. Tell me where the link is and i'll read it. I've got $12.75 that says you'd send a flame to the maintainer(s) of said documentation within five minutes of reading the first paragraph, you twirp ... ... in any case, the URLs for inline ASM guides have been flying around this newsgroup every day, so I don't know why you haven't seen them already ... >The stupid opcode:input:ouput:modified system is really annoying. IMO, it's a great system. Of course, if you don't like it, delete DJGPP, go back to Borland or Watcom and never sully this newsgroup with your postings again. ITMT, fix your newsreader, oh Incompetent One... >I can't see any benefit from using it. You probably couldn't see any benefit from using toilet-paper either.