├── .gitignore ├── README.md ├── base.rkt ├── example ├── fibonacci.rkt ├── hello.rkt ├── ifib.rkt ├── incr.rkt ├── rfib.rkt └── rpn.rkt ├── ffi.rkt ├── generic.rkt ├── generic ├── generic-asm-sig.rkt └── generic-x86-unit.rkt ├── info.rkt ├── main.rkt ├── private └── assembler.rkt ├── scribblings ├── asm.scrbl ├── assembler.scrbl ├── ffi.scrbl ├── generic.scrbl └── x86.scrbl ├── x86.rkt └── x86 ├── disasm.rkt ├── kernel.rkt ├── ndisasm.rkt ├── op.rkt ├── private ├── decode.rkt ├── encode.rkt ├── instruction.rkt ├── mode.rkt ├── opcode-map.rkt ├── operand.rkt ├── racklog-lib.rkt ├── register.rkt └── x86.rkt ├── register.rkt └── test.rkt /.gitignore: -------------------------------------------------------------------------------- 1 | compiled/ 2 | /doc/ 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/README.md -------------------------------------------------------------------------------- /base.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/base.rkt -------------------------------------------------------------------------------- /example/fibonacci.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/example/fibonacci.rkt -------------------------------------------------------------------------------- /example/hello.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/example/hello.rkt -------------------------------------------------------------------------------- /example/ifib.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/example/ifib.rkt -------------------------------------------------------------------------------- /example/incr.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/example/incr.rkt -------------------------------------------------------------------------------- /example/rfib.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/example/rfib.rkt -------------------------------------------------------------------------------- /example/rpn.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/example/rpn.rkt -------------------------------------------------------------------------------- /ffi.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/ffi.rkt -------------------------------------------------------------------------------- /generic.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/generic.rkt -------------------------------------------------------------------------------- /generic/generic-asm-sig.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/generic/generic-asm-sig.rkt -------------------------------------------------------------------------------- /generic/generic-x86-unit.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/generic/generic-x86-unit.rkt -------------------------------------------------------------------------------- /info.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/info.rkt -------------------------------------------------------------------------------- /main.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/main.rkt -------------------------------------------------------------------------------- /private/assembler.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/private/assembler.rkt -------------------------------------------------------------------------------- /scribblings/asm.scrbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/scribblings/asm.scrbl -------------------------------------------------------------------------------- /scribblings/assembler.scrbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/scribblings/assembler.scrbl -------------------------------------------------------------------------------- /scribblings/ffi.scrbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/scribblings/ffi.scrbl -------------------------------------------------------------------------------- /scribblings/generic.scrbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/scribblings/generic.scrbl -------------------------------------------------------------------------------- /scribblings/x86.scrbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/scribblings/x86.scrbl -------------------------------------------------------------------------------- /x86.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86.rkt -------------------------------------------------------------------------------- /x86/disasm.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/disasm.rkt -------------------------------------------------------------------------------- /x86/kernel.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/kernel.rkt -------------------------------------------------------------------------------- /x86/ndisasm.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/ndisasm.rkt -------------------------------------------------------------------------------- /x86/op.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/op.rkt -------------------------------------------------------------------------------- /x86/private/decode.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/decode.rkt -------------------------------------------------------------------------------- /x86/private/encode.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/encode.rkt -------------------------------------------------------------------------------- /x86/private/instruction.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/instruction.rkt -------------------------------------------------------------------------------- /x86/private/mode.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/mode.rkt -------------------------------------------------------------------------------- /x86/private/opcode-map.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/opcode-map.rkt -------------------------------------------------------------------------------- /x86/private/operand.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/operand.rkt -------------------------------------------------------------------------------- /x86/private/racklog-lib.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/racklog-lib.rkt -------------------------------------------------------------------------------- /x86/private/register.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/register.rkt -------------------------------------------------------------------------------- /x86/private/x86.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/private/x86.rkt -------------------------------------------------------------------------------- /x86/register.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/register.rkt -------------------------------------------------------------------------------- /x86/test.rkt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwhjp/racket-asm/HEAD/x86/test.rkt --------------------------------------------------------------------------------