Oct 3, 2006 #1 S sam_aries Newbie level 3 Joined Jul 11, 2006 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,313 keil inline HELLO FRIENDS I AM HAVING TROUBLE IN USING INLINE ASSEMBLY IN KEIL C51. PLEASE HELP ME BY PROVIDING A SUITABLE AND COMPLETE EXAMPLE.
keil inline HELLO FRIENDS I AM HAVING TROUBLE IN USING INLINE ASSEMBLY IN KEIL C51. PLEASE HELP ME BY PROVIDING A SUITABLE AND COMPLETE EXAMPLE.
Oct 3, 2006 #2 B Bus Master Full Member level 3 Joined Dec 9, 2001 Messages 186 Helped 9 Reputation 18 Reaction score 3 Trophy points 1,298 Location Just behind You ;-) Activity points 1,455 keil inline assembler You have to write your ASM code inside these Preprocessor directives: #pragma asm . . . Youe ASM code here . . #pragma endasm Also, you will find a complete example in the knowledge base section at their website. Hope this helps,
keil inline assembler You have to write your ASM code inside these Preprocessor directives: #pragma asm . . . Youe ASM code here . . #pragma endasm Also, you will find a complete example in the knowledge base section at their website. Hope this helps,
Oct 4, 2006 #3 T the tran Member level 1 Joined Dec 4, 2003 Messages 38 Helped 4 Reputation 8 Reaction score 0 Trophy points 1,286 Activity points 337 inline assembly in keil I think you also need to include src derective in you source code otherwise compiler will ignore assembly code.
inline assembly in keil I think you also need to include src derective in you source code otherwise compiler will ignore assembly code.
Oct 10, 2006 #4 C cybersan2002 Junior Member level 3 Joined Jul 25, 2005 Messages 25 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,439 keil c inline assembly I have used inline assembly in C program, also included #pragma SRC line But still I am getting linker error. I also enabled some options in Project window as suggested in keil site articles. But no use. Plz help me on this. Thank You.
keil c inline assembly I have used inline assembly in C program, also included #pragma SRC line But still I am getting linker error. I also enabled some options in Project window as suggested in keil site articles. But no use. Plz help me on this. Thank You.
Oct 10, 2006 #5 L lats Full Member level 4 Joined Oct 27, 2005 Messages 216 Helped 13 Reputation 26 Reaction score 6 Trophy points 1,298 Activity points 2,945 keil inline asm have a look of these :-- these might help you..... https://www.keil.com/support/docs/50.htm & https://www.keil.com/support/docs/1671.htm
keil inline asm have a look of these :-- these might help you..... https://www.keil.com/support/docs/50.htm & https://www.keil.com/support/docs/1671.htm