delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/17/02:46:59

Date: Wed, 17 Mar 1999 08:46:33 +0100 (CET)
Message-Id: <199903170746.IAA06061@login-2.eunet.no>
From: "Gisle Vanem" <gvanem AT eunet DOT no>
To: djgpp AT delorie DOT com
Cc: ams AT ludd DOT luth DOT se
Subject: Re: Some assembly questions
X-Mailer: Watt/POP
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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" ?

> How do I inhibit the gcc generated pre- and postlude to c functions?

Use the gcc flag '-fomit-frame-pointer'.

G. Vanem


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019