LPC55S14 Assembly Programming on Keil

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

LPC55S14 Assembly Programming on Keil

542 Views
PBrunay
Contributor I

Hello

I got an interest on LPC55S14 Microcontroller. I'm using keil uvision 5 IDE. I would like to try programming this chip using assembly language. Can I have a sample startup file and a simple main file just to begin with?

By the way, I'm already familiar with arm cortex m3/m4 instructions.

 

Thanks and best regards.

0 Kudos
Reply
2 Replies

412 Views
PBrunay
Contributor I

Thanks for the info.

0 Kudos
Reply

526 Views
frank_m
Senior Contributor III

I would say, the best place to ask would be the Keil forum.

But AFAIK, the Keil startup file (as with most toolchains) comes already as assembler code.
For the "main" file, you could start out from a basic C project, and review the generated assembler code.
Not sure if the Keil IDE has a project wizard for assember-based projects, but you can always add assember files to a C project.

Two notes:
The Arm/Keil assembly file syntax used to differ slightly from the GCC toolchain syntax. I think this is still the case.
And second, you might need to explicitely enable the generation of assembly ("intermediate") files in the project settings, many toolchains don't do that by default any more.