linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* asm construct
@ 2004-10-06 10:45 Ankit Jain
  2004-10-06 22:46 ` liu song
  0 siblings, 1 reply; 2+ messages in thread
From: Ankit Jain @ 2004-10-06 10:45 UTC (permalink / raw)
  To: assembly

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: asm construct
  2004-10-06 10:45 asm construct Ankit Jain
@ 2004-10-06 22:46 ` liu song
  0 siblings, 0 replies; 2+ messages in thread
From: liu song @ 2004-10-06 22:46 UTC (permalink / raw)
  To: Ankit Jain; +Cc: assembly

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 

On Wed, 6 Oct 2004 11:45:27 +0100 (BST), Ankit Jain
<ankitjain1580@yahoo.com> wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-06 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06 10:45 asm construct Ankit Jain
2004-10-06 22:46 ` liu song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).