COA (CS3L002) Assignment : A Program to detect and resolve data-dependency in an assembly program by explicitly inserting
NOP
instructions.
Following instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The Program requires g++
compiler with support for C++11
for compilation.
Clone Repository on your machine and cd
into it
git clone https://github.com/apsknight/pipeliner.git && cd pipeliner
Build executable from Makefile.
make
The make
instruction with create an executable file with name pipeliner
in the current directory.
The executable program takes an input file as an command line arument. This input file contains the Assembly Program which need to be checked. An example Assembly Program: program.asm
./pipeliner program.asm
Running above command with -r
or --resolve
flag will resolve depedency from program program.asm
and create a file output.txt
with new program.
./pipeliner -r program.asm