A multi-pass assembler for a predefined, made-up, Assembly-type language. Developed in C.
This project includes a makefile for easy compilation on linux distributions:
- make:
$ make
Additional rules
- compile:
$ make compile
- clean:
$ make clean
- rm:
$ make rm
- full_clean:
$ make full_clean
The input should consist of one or more assembly files ('.asm' files).
$ ./assembler.out [name_of_file].asm
The output should consist of one to three files:
- The machine code, in the form of an object file ('.o')
- A file with information about external symbols ('.ext'); won't be created if the .extern command wasn't in use
- A file with information about entry symbols ('.ent'); won't be created if the .entry command wasn't in use