piclist 2008\07\08\140822a >
Thread: Code packing
face picon face BY : email (remove spam text)(Olin Lathrop)

Tomás Ó hÉilidhe wrote:
> I write fully-portable C code that will work on every
> conceivable implementation of the C Standard, regardless of
> endianness, number system, size of byte, character set.

Oh, and how do you deal with multiple address spaces?  I thought the C
standard doesn't consider that.  What exactly is a VOID* on a PIC?  If you
really want to force a single descriptor for everything the processor can
address than you have to include bits to identify the address space and
process every indirect reference laboriously at run time.

If your force compilers for machines like PICs to be absolutely standards
compliant (if that is even possible), then you end up with some very
inefficient machine code.  That can be a big deal on small resource-limited
machines like PICs.

Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
<001601c8e125$ebaca960$0300a8c0@main> quoted-printable

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Code packing

month overview.

new search...