Mail Archives: djgpp/1997/07/12/00:20:14
>You'ld be better off using 'setpe' rather than 'jpe', as it't much less
>expensive:
>
>asm volatile("or %1,%1;setpe %b0":"=g"(result):"r"(value):"cc");
>
Thanks. I think this was the most efficient of all.
Thanks to everyone who replied. I wanted to try something like this (i knew
the parity flag) but I'm pretty bad with inline assembly. Why cant DJGPP
have Borland style asm too, u know asm {........}, so the quotes r not used.
Thanks n Bye,
Chirayu Krishnappa:
------------------
e-mail: chirayu AT poboxes DOT com
Phone: 91 080 3332616.
============================================================================
==========
- Raw text -