Mail Archives: djgpp/1999/08/27/10:55:28
In article <199908262334 DOT TAA19011 AT delorie DOT com> you wrote:
> Hey, an assembly question. Could be offtopic but how I got there is not.
> I was looking at some gcc generated assembly code and the compiler made big
> use of the opcodes sarl and sall. Are these faster then bit shifts?
They *are* the bit shifts. sarl = 'Shift ARithmetic Right, Long
argument'. There are two types of 'bit shift' for (possibly) signed
arguments. One is 'logical' shift, the other is 'arithmetic'.
> another thing, what does the EA byte stand for? (its not supposed to be
> eax!)
Context please. Just a rough idea: it might be the segment override
operator. It was coded explicitly in some DJGPP assembly to work
around bugs in gas.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -