MCUXpresso

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

MCUXpresso

182件の閲覧回数
BPB
Contributor I

Does MCUXpresso support a way to include Assembly code, inline or file?

0 件の賞賛
返信
1 返信

173件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

In the C file, you can add the lines like:

__asm volatile ("LDR R0, =0x40000220\n\t"

"MOV R1, #56\n\t"

"STR R1, [R0]");

 

hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信