Professional Documents
Culture Documents
To check the program if it works correctly. I test the program against a test code. According to
table we generate the instruction memory and to give them as input to Logisim. Alongside these
instruction we gave data inputs to the circuit that we wanted theALU work according to it. First
when we run we got some errors the processor was not working rightly.
Then we realize that we got some mistakes in machine code and got a code which generate
different code than the original one. We fixed the errors and agin test the single cycle assembly
processor. The expected value in R3 is 6120 in decimal. The value in R3 is (17e8) in hexa
decimal which is 6120 in decimal. The other tests also give right values.
Program run method: