This compressed folder Lab3_AI23BTECH11017.zip contains the following files :
This contains the C program to be used to accomplish this project.
A makefile that compiles th eC code(s) and generates an executabe named riscv_asm.
Note : The instructions in the make file are supported on Ubuntu version 20.04
For usage of this project , follow the steps below:
- git clone using
git clone https://github.com/saikaushhikp/CS2323-Carch.git- navigate to project folder
cd Lab3/Lab3_AI23BTECH11017-
add the
input.sfile containing the instructions to this folder. -
compile the code using the following commands:
cd make
./riscv_asm-
The
output.hexwill be created in the same folder asinput.sand will contain the machine code in Hex-form for each instruction ininput.sfile. -
Detailed information about the project and the code’s limitations is well-discussed in REPORT.pdf within