Skip to contentSkip to conversation

asm construct

DISCUSSION Ankit Jain 2 participants 2 messages Oct 6, 2004

lore
Share & tools
lore

Ankit Jain

author
#0 lore raw

hi

i want to know if this is correct? i am a bit confused about linker...i am talking this topic when we have a asm construct in our code.

The compiler basically reads the .c program and converts it into assembly code.Now during this it neglects this assembler construct and leaves it for assembler.Assembler is the person which basically looks for this part of the code and changes it into machine code.

thanks

ankit

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

#1 lore raw

Linker is to link the libs and other objs together.

Generally, you can use gcc -S yourfile.c to see the detail of the asm construct.

song

Quoted 26 lines · Ankit Jain

hi

i want to know if this is correct? i am a bit confused about linker...i am talking this topic when we have a asm construct in our code.

The compiler basically reads the .c program and converts it into assembly code.Now during this it neglects this assembler construct and leaves it for assembler.Assembler is the person which basically looks for this part of the code and changes it into machine code.

thanks

ankit

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html