how to write a nop in c

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

how to write a nop in c

3,673件の閲覧回数
momo12
Contributor III

Hi

how do I wrrite a nop in C? (c intrinsics)

__no_operation() and asm("nop") didnt work.

In which document would I find this?

Thx

3 返答(返信)

3,381件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

In S32DS, I use

__asm__("NOP");

Regards,

Daniel

3,381件の閲覧回数
momo12
Contributor III

where is the documentation for things like that?

0 件の賞賛
返信

3,381件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You may refer to Document arm_pdf_reference.pdf
In the S32DS installation folder …\S32DS_ARM_v2018.R1\S32DS\help\pdf\

pastedImage_1.png

pastedImage_2.png

More information can be found here:
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html

Regards,
Daniel

0 件の賞賛
返信