Hi Tom,
Tom Torfs wrote to Jan Wagemakers :
TT> Try compiling a C-prog that does time_t t; time(&t); and look at the
TT> resulting assembly code ?
I have done that. It was your programming example (CProg.B) that I have
converted (gcc -S) to asm ;-)
But as far as I can see there is not so much difference between how I try
to use call time and the converted C-prog. The only difference that I see
is that the C-program makes use of a stack-frame.
TT> I also read that it ran fine on James Vahn's machine..
Yes. I have compiled another version of my Linux-kernel (2.0.30), and now
it doesn't generated a seg-fault. But I have (see a previous message of
me) some other problems now.....
TT> greetz, Tom tomtorfs@mail.dma.be
Bye. - Jan Wagemakers -
o_o Hey now, hey now now, sing This Corrosion to me
Hey now, hey now now, sing like a healing hand (The Sisters of Mercy)
--- Terminate 5.00/Pro /Linux.DosEmu.JanW-DOS(PTS)
---------------
* Origin: Linux & Assembler : http://bewoner.dma.be/JanW (2:292/854.19)
|