Bit field differences

utzoo!decvax!harpo!floyd!crc utzoo!decvax!harpo!floyd!crc
Wed Apr 6 12:59:17 AEST 1983


One would expect compiliers to assign bit fields the same way the cpu
manufaturer does. In this case MIT is wrong as the 68000 counts bits from
LSB to MSB, like the pdp11.  Unfortunately the 68000 counts bytes the other
way around, ie from MSByte to LSByte. It would be cleaner if they counted
bits and bytes the same way. Well at least you can *REALLY* directly address
more than 64k unlike the 8086, z8000 and 9900.



More information about the Comp.lang.c mailing list