Code of assembler in C for University project.
The assembler translates assembly code from given .as
files to an encrypted binary file and creates the below files in the proccess (XXX
stands for the original filename without the .as
extention):
XXX.am
- contains the original code with spreaded macrosXXX.en
- contains entry variables and their valuesXXX.ex
- contains external variables and the lines (decimal addresses) were they are used in the codeXXX.ob
- the encoded binary file
- Make the binary file by running
make
- Run the program
./assembler <<PATH_TO_ASSEMBLY_FILE>>
Note: You can pass multiple file paths.