What has to put when we are inserting as assembly language
code into the C code? or When we are inserting as assembly
language code into the C code we have to insert one thing
at the start and of the assembly language. What are they?
Answers were Sorted based on User's Feedback
Answer / vaishnavi
we can insert assembly code by using asm()
asm("assembly code")
The compiler will insert these asm code into the assembly code being generated, and hence the compiler-supplied and the user-supplied assembly will be combined
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sivavendra
Yes,, we have to give the assembly code as inline function as follows.....
asm
{
"assembly instructions"
}
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the key features in c programming language?
Why n++ execute faster than n+1 ?
int *a[5] refers to
How to print "I Love My India" without using semi colon?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
what r callback function?
Why does not use getgh(); and <conio.h> in c language.
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Find MAXIMUM of three distinct integers using a single C statement
Distinguish between actual and formal arguments.
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
is it possible to change the default calling convention in c ?