Porting GCC: setting lenght-atrribute

Mike Stump mrs@windriver.com
Thu Feb 17 16:57:00 GMT 2000


> Date: Sun, 13 Feb 2000 11:52:42 +0100
> From: Mueller-Lehnitz@t-online.de (Anja =?iso-8859-1?Q?M=FCller?=)

> Another Question: What is the difference between Arithmetical and
> Logical Shifting ? When shiften left the GCC does not distinguish
> between these two cases -> there is only a the Operation "ashl*3",
> but when shiften right there are the Operations "ashr*3" and
> "lshr*3". What is the difference between them ?

Logical means shifting in a zero bit.  Arithmetic means shifting in a
copy of the high bit.  Welcome to assembly language.


More information about the Gcc mailing list