Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] "mnemonic expected" error

Status
Not open for further replies.

bluerose

Newbie level 3
Newbie level 3
Joined
Feb 26, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,308
hello
I have this error due to my assembly debugging in keil uvision4 for infineon c167cs device:


main.c(15): error C195: inline-asm: Mnemonic expected


does anyone know what it is about??
 

Without your code, I'd guess it's a syntax error; maybe missing a semicolon on an earlier line; something like that.
 

If you are doing inline asm coding in your c/c++/pascal code then you have to put the asm code inside the inline asm block something like

Code C - [expand]
1
2
3
4
5
6
7
8
9
asm{
 
}
 
or
 
_asm{
 
}


It is different for different compilers. See help of your compiler about inline asm.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top