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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of unary operators?

914


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1745


What is the purpose of 'register' keyword in c language?

837


Here is a good puzzle: how do you write a program which produces its own source code as output?

868


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1709


Is c pass by value or reference?

833


What does typeof return in c?

866


Why should I use standard library functions instead of writing my own?

997


How we can insert comments in a c program?

878


How can I do serial ("comm") port I/O?

944


What are the advantages of union?

853


What are the functions to open and close the file in c language?

827


Why isnt there a numbered, multi-level break statement to break out

836


while initialization of array why we use a[][2] why not a[2][]...?

2123


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1486