Re: [AD] swap mouse button 1 & 2

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Friday 22 November 2002 11:13, Vincent Penquerc'h wrote:
> > 	setne	%al
>
> That's slightly wrong, as this insn is Pentium Pro only, IIRC.
> However, it can be done with adc (add with carry) which is there
> even on 8088.

Ouch! Are you saying that GCC 3.2 (configured as i586-redhat-linux-gnu) makes 
such a big mistake ? My manual says:

A.150 SETcc: Set Register from Condition

SETcc r/m8                    ; 0F 90+cc /2          [386]

SETcc sets the given 8-bit operand to zero if its condition is not satisfied, 
and to 1 if it is. 

-- 
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/