Designed and implemented an ISA for a 32 bit machine using C code. It aims to demonstrate how assembly language computation occurs with instructions and addressing modes unique to each ISA. The execution was carried out with the machine code generated from this assembly language code.
- We have two input files for our program in assembly language name "inp1.txt" and "inp2.txt".
- 1.c is Code to generate every assembly instruction into 32 bit binary instuction .
- After Execution of 1.c corresponding to "inp1.txt" , "out1.txt" will be generated along with "symbol1.txt" .
- 2.c is Code to generate final output ,states of flag registers and ALU control signals are displayed .
gcc 1.c./a.outgcc 2.c./a.out