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 |
Write a program in c to print 1 121 12321 1234321 123454321
11 Answers ANR, College School Exams Tests, Mu Sigma, Wipro,
What are pointers? Why are they used?
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
an algorithem for the implementation of circular doubly linked list
What does double pointer mean in c?
What is calloc in c?
why we use "include" word before calling the header file. is there any special name for that include??????
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
What is the purpose of 'register' keyword?
Which is better pointer or array?
How can I write functions that take a variable number of arguments?
What are the features of c languages?