Jim Wilson <[EMAIL PROTECTED]> writes: > I'm not sure if anyone has ever done this before. The > assembler/linker/etc have no support for odd sized variables. > Usually the partial int modes were just used internal to gcc. For > instance, if you have 24-bit address registers, you would use 32-bit > pointers,
m32c has a 24 bit PSImode. It really does have 24 bit registers. Pointers are 32 bits when stored outside of registers, but the assembler and linker certainly support 24 bit constants, including a .3byte pseudo for setting up some of the chip-specific tables. Note also that gcc has mode_wider[] and mode_2xwider[] to differentiate between those.