delorie.com/archives/browse.cgi | search |
Message-ID: | <35A5FC72.C235F6D9@eik.bme.hu> |
Date: | Fri, 10 Jul 1998 13:35:14 +0200 |
From: | "Dr. András Sólyom" <solyom AT eik DOT bme DOT hu> |
Organization: | TU Budapest |
MIME-Version: | 1.0 |
To: | djgpp <djgpp AT delorie DOT com> |
Subject: | Re: Infinite loop??? |
References: | <35A3D8C3 DOT 208E6D23 AT cyberdude DOT com> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |