This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CVSUp or Modula3 boot or errno in assemble


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]