Hi All,
The real question here is what we should do about these misalignment
issues. If the code handles them properly, you really won't like the
result. The MSP430 doesn't allow misaligned loads and stores, so they
have to be simulated by a mass of instructions. The slow bulky code that
produces isn't going to please many people. Should we just say no
misalignment is permitted? Maybe I should check how the other MSP430
compilers handle this.
The compiler MUST get the code correct for what is written. Fast code
that is incorrect is useless, slow code that functions correctly is a
much better option.
How many projects are pushing the outside of the envelope for
speed/efficiency? If you want efficiency and you think you can write it
faster in assembler then go ahead.
Ill have a look at the sample code.
Regards,
--
Peter Jansen
___________________________________________________________________________
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not
the
intended recipient, you are notified that use or dissemination of this
communication is
strictly prohibited by Commonwealth law. If you have received this transmission
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232
3209 and
DELETE the message.
Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________