Message-ID: <35A5FC72.C235F6D9@eik.bme.hu> Date: Fri, 10 Jul 1998 13:35:14 +0200 From: "Dr. András Sólyom" Organization: TU Budapest MIME-Version: 1.0 To: djgpp Subject: Re: Infinite loop??? References: <35A3D8C3 DOT 208E6D23 AT cyberdude DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk For the left shift operator BCC uses an SHL (shift left) instruction, while GCC uses SAL (arithmetic shift left) I think these differ in how they uses the CARRY bit why is it so? AFAIK the implementation of the left shift operator is left to the compiler maker by the ANSI C specification. Andras