brendan > By the way, memory and other hardware initialisation is all done > in 'C' in this case: the less assembler the better, I think. But be really careful to use C before the C startup. This might work on this chip with this compiler but fail on another. (Seen e.g. on a V850 where some registers hold constant like 0xff and 0xffff for masking.) BTW: My opion adds one point: If assembler then in a separate file, not inline. -- 42Bastian Schick
Message
Re: [lpc2000] Re: GNU inline assembler return value
2005-07-15 by 42Bastian Schick