Surender Reddy
Full Member level 2
- Joined
- Jan 28, 2012
- Messages
- 129
- Helped
- 7
- Reputation
- 14
- Reaction score
- 7
- Trophy points
- 1,298
- Location
- Bangalore, India
- Activity points
- 2,186
Hi,
I am working with programming microcontroller in C language. The C statements should convert into assembly instructions.
My doubt is "Single C statement converted into how many instructions?"
Ex: int a=23; how many instructions it takes
Ex: if(a>b)
if((a>b)&&(b>c)&&(a<c)) //a,b,c are variables
how many instructions it takes for both statements?
I am working with programming microcontroller in C language. The C statements should convert into assembly instructions.
My doubt is "Single C statement converted into how many instructions?"
Ex: int a=23; how many instructions it takes
Ex: if(a>b)
if((a>b)&&(b>c)&&(a<c)) //a,b,c are variables
how many instructions it takes for both statements?