CVSUp or Modula3 boot or errno in assemble

Christopher Faylor cygwin@cygwin.com
Tue Apr 24 17:34:00 GMT 2001


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



More information about the Cygwin mailing list