"call Puts / int80"

Erich_B@gmx.de Erich_B@gmx.de
Sat May 26 14:38:00 GMT 2007


Hello, 

I´m trying a little bit around with assembler and linux, and I have some questions...

To use some "Linux-API" for example to print a message on the terminal its possible to call int 80 to do this in assembler.

If i write a little "Hello World" Programm in C and have a look on it with an hex-editor/disassembler i can see, that gcc don`t use int80...
and if i had a look on the temporary assembler code which gcc gives me I see that gcc use some C-Function Puts (in assembler ... "call Puts" ...)

So there must be another way to use "Linux-API".

My question is, does anyone know the assembler code that gcc use to print a message on the terminal ?

Thanks 

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the Gcc-help mailing list