This assembler is designed to translate assembly language programs written for a custom CPU architecture into binary instructions that the CPU can execute. It's written in C for performance and compatibility with various operating systems.
- GCC (GNU Compiler) or any C compiler
- Clone the repository
git clone https://github.com/miguel-merlin/assembler.git
- Navigate to the project directory
cd assembler
- Compile the source code
gcc -o assembler assembler.c
- Create a custom assembly program
- To assemble a program, run the assembler with the input assembly file.
./assembler <filename>
The assembler will generate a file output.txt
with the binart instructions
This project is licensed under the MIT Licence - see the LICENSE
file for detail.