IN: compiler USING: assembler kernel kernel-internals math ; ! PowerPC register assignments ! r3-r10 vregs ! r14 data stack ! r15 call stack : fixnum-imm? ( -- ? ) #! Can fixnum operations take immediate operands? f ; inline : vregs { 3 4 5 6 7 8 9 10 } ; inline M: int-regs return-reg drop 3 ; M: int-regs fastcall-regs drop { 3 4 5 6 7 8 9 10 } ; M: float-regs return-reg drop 1 ; M: float-regs fastcall-regs drop { 1 2 3 4 5 6 7 8 } ; ! Mach-O -vs- Linux/PPC : stack@ macosx? 24 8 ? + ; : lr@ macosx? 8 4 ? + ;