From: Peter �strand <[EMAIL PROTECTED]>
Subject: Assembler procedures
Date: Sun, 18 Jul 1999 15:57:05 +0200 (MET DST)
> I'm looking at the assembler functions in stage2/asm.S, but don't
> understand how the arguments and return-values are transfered to/from
> registers and C-arguments. Maybe someone can explain?
Briefly: Arguments are pushed into the stack, and a return value is
in %eax.
If you want to know much more, you need to study assembly
programming. The following site is a good starting point:
http://www.delorie.com/djgpp/doc/
----------------------------------------------------------------------
OKUJI Yoshinori <[EMAIL PROTECTED]> ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English) m /