delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Tue, 24 Apr 2001 20:34:41 -0400 |
From: | Christopher Faylor <cygwin AT cygwin DOT com> |
To: | Cygwin Users List <cygwin AT cygwin DOT com> |
Subject: | Re: CVSUp or Modula3 boot or errno in assemble |
Message-ID: | <20010424203441.B22034@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | Cygwin Users List <cygwin AT cygwin DOT com> |
References: | <OCECJNJHOHFDNOOHJFIHCENCFOAA DOT tag AT ibis DOT odessa DOT ua> |
Mime-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |