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



What has to put when we are inserting as assembly language code into the C code? or When we are in..

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

What has to put when we are inserting as assembly language code into the C code? or When we are in..

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

Post New Answer

More C Interview Questions

What is the scope of global variable in c?

0 Answers  


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

0 Answers  


Write a program to check whether a number is prime or not using c?

0 Answers  


4. main() { int c=- -2; printf("c=%d",c); }

0 Answers  


What is the importance of c in your views?

0 Answers  






How to reverse a string using a recursive function, without swapping or using an extra memory?

31 Answers   Cisco, Mind Tree, Motorola, Ophio, Sony, TCS, Wipro,


Why do we use namespace feature?

0 Answers  


Is main a keyword in c?

0 Answers  


what is meant by flushll() in c programming?

1 Answers  


Why is sprintf unsafe?

0 Answers  


Is fortran faster than c?

0 Answers  


Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.

0 Answers  


Categories