write_x86_64
Objective
This crate is written in the purpose of helping people implement a x86_64 assembly backend for a compiler in rust. Thus this crate implements data structures to write simple x86_64 instructions but also type check those instruction.
Usage
Generate a Hello World program for x86_64 macos
use *;
Contributing
Contribution are welcomed, you can also ask to add some instructions if you are using this crate and would want more instructions available.
Project using this crate:
- A compiler for a subset of Rust : https://github.com/samsa1/SamRustCompiler