Assembler for a non-standrad 8-bit CPU.
First clone the project (submodules are included):
git clone --recurse-submodules https://github.com/empitrix/assembler
for GNU make use:
make
If you are using mingw
for windows you can use:
make windows
After that, there will be a assembler
file, or assembler.exe
in windows.
After compiling run the assembler
followed by given assembly file!
for example:
./assembler ./test/gpio.asm
after that if everything goes well you have a asm_out_bin
file which is contains binary data of given assembly file.
Flag | Name | Info |
---|---|---|
-v |
Verbose | Show more output than usual, such as lines and their correspondent binaries |
-o [filename] |
Output | To specify the output file's path |
--help |
Help | Show help menu |