Jump to content

Assembler nop in ccs

Recommended Posts



i try to make a simple program in C to control a lcd. I need to make two "nop" in one function but i don't know the syntax . Always, the compiler make a assembler error and i can't run the program.




void Toggle_A_Lcd(void){


LcdControl |= En;

asm (nop);

asm (nop);

LcdControl &=~ En;




somebody could tell me how make this, please?


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...