Mar 5, 2009 #1 R raviraj.jr Junior Member level 1 Joined Mar 5, 2009 Messages 16 Helped 2 Reputation 4 Reaction score 1 Trophy points 1,283 Activity points 1,394 keil assembly code in c using #pragma I've written a function in assembly and which i've mixed with C code in keil complier using #pragma ASM ------------------ ---------------- #pragma but i'm getting error like this building target'target 1' compiling xyz.c.... target not created why is this happening????
keil assembly code in c using #pragma I've written a function in assembly and which i've mixed with C code in keil complier using #pragma ASM ------------------ ---------------- #pragma but i'm getting error like this building target'target 1' compiling xyz.c.... target not created why is this happening????
Apr 28, 2009 #2 S samx Newbie level 4 Joined Mar 31, 2009 Messages 5 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,322 keil compiling assembly Hi Boss, To work both assembly and C code you need to 1) add .lib file to group and compile 2) enable Generate assembler src file option in the group. Now your code will work. Regards, Sam
keil compiling assembly Hi Boss, To work both assembly and C code you need to 1) add .lib file to group and compile 2) enable Generate assembler src file option in the group. Now your code will work. Regards, Sam