> > for instance: there should be an integer type that is at least > > 0..255, but maps to the 'best' machine type. This could be > a byte on a > > PIC, but on an ARM probably a 32-bit word. > > This is something I added to my source to source translator > long ago Every serious C development environment has something like this. But note that it still restricts you to the types that C happens to have choosen. On a system with 8,16,32 and 64 bit integers there is no way to get an economic 24-bit integer. Check Ada for a more flexible way to specify integers. But Ada is a much moer complex language, and has never realy gained the momentum in the embedded world. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist