├── .gitignore ├── .gitmodules ├── LICENSE ├── Makefile ├── README.md ├── _more ├── c6_linux.c ├── c6_macos.c └── c6_win.c ├── c6 ├── c6.c ├── c6_test.sh ├── doc ├── asm.md ├── jit.md └── lea.md ├── genasm ├── genasm.c ├── jit ├── jit.c ├── jit.md ├── jit_test.sh └── test ├── arg.c ├── explore ├── dl0 ├── dl0.c ├── dl0b ├── dl0b.c ├── dl1 ├── dl1.c └── test1.c ├── fib.c ├── fib.vm ├── fib.vm.s ├── fib64.c ├── fib64.s ├── hello.c ├── hello.s ├── hello.vm ├── hello.vm.s ├── hello64.c ├── hello64.s ├── helloccc.c ├── helloccc.s ├── helloccc.vm ├── helloccc.vm.s ├── sum.c ├── sum.s ├── sum.vm ├── sum.vm.s ├── sum64.c ├── sum64.s └── var.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/README.md -------------------------------------------------------------------------------- /_more/c6_linux.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/_more/c6_linux.c -------------------------------------------------------------------------------- /_more/c6_macos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/_more/c6_macos.c -------------------------------------------------------------------------------- /_more/c6_win.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/_more/c6_win.c -------------------------------------------------------------------------------- /c6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/c6 -------------------------------------------------------------------------------- /c6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/c6.c -------------------------------------------------------------------------------- /c6_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/c6_test.sh -------------------------------------------------------------------------------- /doc/asm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/doc/asm.md -------------------------------------------------------------------------------- /doc/jit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/doc/jit.md -------------------------------------------------------------------------------- /doc/lea.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/doc/lea.md -------------------------------------------------------------------------------- /genasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/genasm -------------------------------------------------------------------------------- /genasm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/genasm.c -------------------------------------------------------------------------------- /jit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/jit -------------------------------------------------------------------------------- /jit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/jit.c -------------------------------------------------------------------------------- /jit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/jit.md -------------------------------------------------------------------------------- /jit_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/jit_test.sh -------------------------------------------------------------------------------- /test/arg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/arg.c -------------------------------------------------------------------------------- /test/explore/dl0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/explore/dl0 -------------------------------------------------------------------------------- /test/explore/dl0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/explore/dl0.c -------------------------------------------------------------------------------- /test/explore/dl0b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/explore/dl0b -------------------------------------------------------------------------------- /test/explore/dl0b.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/explore/dl0b.c -------------------------------------------------------------------------------- /test/explore/dl1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/explore/dl1 -------------------------------------------------------------------------------- /test/explore/dl1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/explore/dl1.c -------------------------------------------------------------------------------- /test/explore/test1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/explore/test1.c -------------------------------------------------------------------------------- /test/fib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/fib.c -------------------------------------------------------------------------------- /test/fib.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/fib.vm -------------------------------------------------------------------------------- /test/fib.vm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/fib.vm.s -------------------------------------------------------------------------------- /test/fib64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/fib64.c -------------------------------------------------------------------------------- /test/fib64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/fib64.s -------------------------------------------------------------------------------- /test/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | printf("hello, world\n"); 6 | } 7 | -------------------------------------------------------------------------------- /test/hello.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/hello.s -------------------------------------------------------------------------------- /test/hello.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/hello.vm -------------------------------------------------------------------------------- /test/hello.vm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/hello.vm.s -------------------------------------------------------------------------------- /test/hello64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/hello64.c -------------------------------------------------------------------------------- /test/hello64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/hello64.s -------------------------------------------------------------------------------- /test/helloccc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/helloccc.c -------------------------------------------------------------------------------- /test/helloccc.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/helloccc.s -------------------------------------------------------------------------------- /test/helloccc.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/helloccc.vm -------------------------------------------------------------------------------- /test/helloccc.vm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/helloccc.vm.s -------------------------------------------------------------------------------- /test/sum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/sum.c -------------------------------------------------------------------------------- /test/sum.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/sum.s -------------------------------------------------------------------------------- /test/sum.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/sum.vm -------------------------------------------------------------------------------- /test/sum.vm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/sum.vm.s -------------------------------------------------------------------------------- /test/sum64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/sum64.c -------------------------------------------------------------------------------- /test/sum64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/sum64.s -------------------------------------------------------------------------------- /test/var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccc-c/c6/HEAD/test/var.c --------------------------------------------------------------------------------