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 is the scope of global variable in c?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
Write a program to check whether a number is prime or not using c?
4. main() { int c=- -2; printf("c=%d",c); }
What is the importance of c in your views?
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?
Is main a keyword in c?
what is meant by flushll() in c programming?
Why is sprintf unsafe?
Is fortran faster than c?
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.