Coding in assembly for LPC812

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Coding in assembly for LPC812

978 Views
SunTzun
Contributor I

Hello. Is there a route to write code for LPC812 fully in assembly without any automatied compilers?

Preferably, if this can be done through an IDE without manually confuguring the linker.

0 Kudos
3 Replies

965 Views
SunTzun
Contributor I

Do any guides or examples for assembly coding for this microcontroller exist?

0 Kudos

930 Views
ErichStyger
Senior Contributor V

Not for LPC812 (don't have that one), but for LPC845:

https://mcuoneclipse.com/2023/05/21/creating-a-gnu-assembly-only-project/

I hope this helps,

Erich

0 Kudos

972 Views
ErichStyger
Senior Contributor V

Yes, you certainly can do this using the GNU as (assembler) (https://en.wikipedia.org/wiki/GNU_Assembler). But I still would advocate that you are going to have the ld in the mix, as it simplifies all the memory mappings.

0 Kudos