On this page:
Racket Assembler

Racket Assembler


This experimental package generates executable machine code. It is incomplete, mostly untested and contains bugs. You will not get a nice error message when things go wrong; if you are lucky, the Racket process will crash.

Caveat usor.

This project uses some ideas from Noel Welsh’s x86 assembler, and GNU lightning.

See the example directory for demos.

    1 Assembler

    2 FFI Utilities

    3 Generic Instructions

      3.1 Registers

      3.2 Arithmetic

      3.3 Comparisons

      3.4 Branches

      3.5 Function calls

      3.6 Other

    4 x86 Instructions