Greetings:
I would like to find a repository of assembler source code examples
specifically for the LPC21xx to have as a reference. Are there any web
sites that have a good selection of example ARM assembler code
routines applicable to the ARM7 TDMI?
Many thanks in advance!
Tom Alldread
LPC21xx Assembler Source Code - Reference Examples?
Started by ●October 1, 2007
Reply by ●October 1, 20072007-10-01
tmasyl wrote:
> Greetings:
>
> I would like to find a repository of assembler source code examples
> specifically for the LPC21xx to have as a reference. Are there any web
> sites that have a good selection of example ARM assembler code
> routines applicable to the ARM7 TDMI?
>
Hi Tom,
You may want to acquire this this book, it's a great reference and has a
reasonable collection of ASM examples:
http://www.mkp.com/companions/1558608745
Also the compiler you choose and the optimization level selected will
have a huge effect on the assembler generated. So you will want to
examine this.
The "NicheLite for LPC" IP stack (free from NXP's website, and includes
source code) has a hand optimized IP Checksum routine in ASM that is
interesting study. Although in two of their other ASM functions, the
generated ASM from equivalent C code was smaller.
There are multiple flavors of ARM ASM and porting between them is fairly
trivial.
Joel Winarske
> Greetings:
>
> I would like to find a repository of assembler source code examples
> specifically for the LPC21xx to have as a reference. Are there any web
> sites that have a good selection of example ARM assembler code
> routines applicable to the ARM7 TDMI?
>
Hi Tom,
You may want to acquire this this book, it's a great reference and has a
reasonable collection of ASM examples:
http://www.mkp.com/companions/1558608745
Also the compiler you choose and the optimization level selected will
have a huge effect on the assembler generated. So you will want to
examine this.
The "NicheLite for LPC" IP stack (free from NXP's website, and includes
source code) has a hand optimized IP Checksum routine in ASM that is
interesting study. Although in two of their other ASM functions, the
generated ASM from equivalent C code was smaller.
There are multiple flavors of ARM ASM and porting between them is fairly
trivial.
Joel Winarske