[M3devel] 32bit host 64bit target TextLiteral recurring problem

mika at async.caltech.edu mika at async.caltech.edu
Thu Jun 4 19:46:29 CEST 2015


>(Actually, BITS does the same thing when used as the type of an array element, but cases where this
>matters are rare.  If the bit count evenly divides the word size, there won't be any alignment padding
>needed, and BITS won't matter.  Otherwise, the compiler is likely to refuse, unless the entire array
>fits in a single machine word.  I do have a couple of such cases.)

For a lot of hardware-related problems, the following type is quite useful:

ARRAY [..] OF BITS 1 FOR BOOLEAN

(and works with our compilers, too, as far as I know.)

    Mika



More information about the M3devel mailing list