A limited Micropower ISA assembler, submitted as assignment in CoA.
Usage
./bin/u_asm <path to asm file> [--debug] [--step-run]
- Set up command line arguments
- Read and pre process files
- Initialize text and data segment
- Initialize registers
- Generate symbol table
- Parse instructions
- Encode instructions
- Execute instructions
- Clone the repository.
git clone git@github.com:abhishekkumar2718/Micropower-ISA.git && cd Micropower-ISA
- Build the application.
make
- Use the simulator on your micropower asm files.
./bin/u_sim <path to asm file>
- [Optional] Run tests
make test