In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: I have read the doc and there is much PIC related stuff that must be removed. Also the workarounds and limitations should be removed. I mean, short int for bit type and no pointer to constant array, that is ugly. My proposal: types: bit - 1 bit char - unsigned byte signed char - signed byte int - 2 bytes unsigned int - 2 bytes long - 4 bytes unsigned long - 4 bytes float - 4 bytes A pointer should be 16bits, allowing for accessing structures and unions stored in ROM as well as access to RAM. One could virtually place the ram addresses after the rom addresses 0x0000-0x0FFF = ROM and 0x1000-0x10FF is ram banks, 0x1100-0x110F is global ram. Use of the address operator & hides all this from the user. Perhaps a short pointer type that is just 8 bits (for ram access, but SX48 has more than 256 bytes ram). Or pointer is standard 8 bits and then a special long pointer type that is 16bits. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100482#m100704 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)