LPC55S14 Assembly Programming on Keil

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S14 Assembly Programming on Keil

541件の閲覧回数
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 返答(返信)

411件の閲覧回数
PBrunay
Contributor I

Thanks for the info.

0 件の賞賛
返信

525件の閲覧回数
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.