Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 24 Apr 2001 20:34:41 -0400
From: Christopher Faylor <cygwin@cygwin.com>
To: Cygwin Users List <cygwin@cygwin.com>
Subject: Re: CVSUp or Modula3 boot or errno in assemble
Message-ID: <20010424203441.B22034@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: Cygwin Users List <cygwin@cygwin.com>
References: <OCECJNJHOHFDNOOHJFIHCENCFOAA.tag@ibis.odessa.ua>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <OCECJNJHOHFDNOOHJFIHCENCFOAA.tag@ibis.odessa.ua>; from tag@ibis.odessa.ua on Wed, Apr 25, 2001 at 03:22:26AM +0300

On Wed, Apr 25, 2001 at 03:22:26AM +0300, Andrew G. Tereschenko wrote:
>As for C/C++ i can understand that define can overcome
>incompartibility - but that to do with code like this one ?
>
>	leal -1040(%ebp),%edx
>	movl %edx,-8(%ebp)
>	.stabd 68,0,104
>	.stabd 68,0,110
>	cmpl $0,-12(%ebp)
>	jg L35
>	.stabd 68,0,111
>	cmpl $22,_errno <-- FAULT HERE
>	jne L36
>	.stabd 68,0,112
>	xorl %eax,%eax
>	jmp L34
>	.align 4,0x90

What you do is type "info gcc" and look for the discussion on asm.
In particular, you need to study how to use input and output
operands.

The heading in the gcc info file is:

Assembler Instructions with C Expression Operands

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

