On Sun, 28 Sep 2014, Chuck Guzis wrote:
Really? I've never seen a C defined for an
architecture that lacks
simple Boolean operations--note that on a decimal architecture, all bit
combinations are not legal. Shifting, if implemented, only shifts
values by powers of ten.
Show me a C for an IBM 1620, 7080 or 1401. I've never seen it. All had
FORTRAN, however.
Surely, you could write a C compiler in FORTRAN.
C SHIFT LEFT 1 BIT
X = X + X