From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Some assembly questions Date: 18 Mar 1999 04:58:14 GMT Organization: University of Lulea, Sweden Lines: 18 Message-ID: <7cq156$q5$2@news.luth.se> References: <199903170746 DOT IAA06061 AT login-2 DOT eunet DOT no> NNTP-Posting-Host: queeg.ludd.luth.se X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Gisle Vanem (gvanem AT eunet DOT no) wrote: : ams AT ludd DOT luth DOT se (Martin Str|mberg) said: : : > How do I set or clear the carry flag? I _think_ "andl %%eax, %%eax" : > clears it (and "orl %%eax, %%eax" too). : : How about "setc" and "clc" ? Hmm. I get "operands given don't match any known 386 instruction". What is setc called in gas assembly? And yes, I _am_ an assembly neophyte. Stina Nordenstam, Memories of a color, MartinS