]> gitweb.factorcode.org Git - factor.git/blob - basis/cpu/x86/64/unix/bootstrap.factor
Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
[factor.git] / basis / cpu / x86 / 64 / unix / bootstrap.factor
1 ! Copyright (C) 2008 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: bootstrap.image.private kernel namespaces system
4 cpu.x86.assembler layouts vocabs parser ;
5 IN: bootstrap.x86
6
7 : stack-frame-size ( -- n ) 4 bootstrap-cells ;
8 : arg0 ( -- reg ) RDI ;
9 : arg1 ( -- reg ) RSI ;
10 : arg2 ( -- reg ) RDX ;
11
12 << "resource:basis/cpu/x86/64/bootstrap.factor" parse-file parsed >>
13 call