Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Assembler nop in ccs

$
0
0
Hi,
 
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.
 
function:
 
void Toggle_A_Lcd(void){
 
LcdControl |= En;
asm (nop);
asm (nop);
LcdControl &=~ En;
 
}
 
somebody could tell me how make this, please?
thanks

Viewing all articles
Browse latest Browse all 2077

Trending Articles