A simple assembler for the Brookshear Machine
  • Rust 97.9%
  • Assembly 2.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-16 17:32:04 +02:00
.vscode Initial commit 2026-09-12 12:31:18 +02:00
src Better usage hinting 2026-09-12 15:22:19 +02:00
.gitignore Initial commit 2026-09-12 12:31:18 +02:00
Cargo.lock Initial commit 2026-09-12 12:31:18 +02:00
Cargo.toml Initial commit 2026-09-12 12:31:18 +02:00
fibbonacci.asm Start fibbonacci with 2 one's 2026-09-16 17:32:04 +02:00
GRAMMAR.md Initial commit 2026-09-12 12:31:18 +02:00
README.md Initial commit 2026-09-12 12:31:18 +02:00
swap.asm Initial commit 2026-09-12 12:31:18 +02:00

Brookshear Assembler

A simple assembler for the Brookshear Machine in Rust.

Compile and run with cargo:

cargo run [input]

Where input is a file containing assembly instructions. See fibbonacci.asm for an example.

The grammar and instruction set can be found in GRAMMAR.md.

The output is a string of hexadecimal digits which can be imported into this Brookshear Machine emulator.