This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
boni-asm /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.markdown | ||
| |
USAGE | ||
| |
architecture.py | ||
| |
assembler.py | ||
| |
assembly.g | ||
| |
examples/ | ||
| |
parser.py | ||
| |
yapps2.py | ||
| |
yappsrt.py |
README.markdown
oooooooooo. .oooooo. ooooo ooo ooooo
`888' `Y8b d8P' `Y8b `888b. `8' `888'
888 888 888 888 8 `88b. 8 888
888oooo888' 888 888 8 `88b. 8 888
888 `88b 888 888 8 `88b.8 888
888 .88P `88b d88' 8 `888 888
o888bood8P' `Y8bood8P' o8o `8 o888o
Boni is an easily retargetable assembler
It should take a few hours to add support for new architectures. You just have to edit architecture.py.
I wrote it for one of my courses so I had to finish it pretty quickly. It is well written though(Pythonic).
It only supports one architecture for now. A general purpose micro-processor made in our course. I am confident it can support x86 with minimal effort.
I hope someone can build from this.
Usage:
python assembler.py yourfile.s
python assembler.py examples/example1.s
Options:
-b Output in binary
--mode=vhdl Output VHDL code









