LPC55S14 Assembly Programming on Keil

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC55S14 Assembly Programming on Keil

297 次查看
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 项奖励
2 回复数

167 次查看
PBrunay
Contributor I

Thanks for the info.

0 项奖励

281 次查看
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.