Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: GNU inline assembler return value

2005-07-15 by 42Bastian Schick

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.