asm ("nop") equivalent in XMC series

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
mrnoone
Level 2
Level 2
10 sign-ins 5 replies posted 5 questions asked

Hello everyone. Is there any assembly equivalent  of --> asm ("nop") <-- to be used in assembly code of a XMC microcontroller? Thanks for your time.

0 Likes
1 Solution
Rodrigo_RT
Level 4
Level 4
50 sign-ins 10 likes given 25 replies posted

Hello Mrnoone.

XMC has the function asm("nop"). you can use it in two ways

__asm("nop");
or
__NOP();

Both ways will work equally.

Yours sincerely

View solution in original post

0 Likes
2 Replies
Rodrigo_RT
Level 4
Level 4
50 sign-ins 10 likes given 25 replies posted

Hello Mrnoone.

XMC has the function asm("nop"). you can use it in two ways

__asm("nop");
or
__NOP();

Both ways will work equally.

Yours sincerely

0 Likes
mrnoone
Level 2
Level 2
10 sign-ins 5 replies posted 5 questions asked

Many Thanks @Rodrigo_RT .