Question: I need a simpletron for c++ that can read a simplesim.h and sml.h files to output this. I have the basics of how the simpletron

I need a simpletron for c++ that can read a simplesim.h and sml.h files to output this. I have the basics of how the simpletron code works I just can get it up and running when taking inputs not from files

z123456@turing:~/csci241/Assign4$ ./simplesim < sum.sml READ: -0005 READ: +0015 +0010 *** Simplesim execution terminated *** REGISTERS: accumulator: +0010 instruction_counter: 06 instruction_register: +4400 operation_code: 44 operand: 00 MEMORY: 0 1 2 3 4 5 6 7 8 9 0 +1107 +1108 +2207 +3108 +2109 +1209 +4400 -0005 +0015 +0010 10 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 20 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 30 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 40 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 50 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 60 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 70 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 80 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 90 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 +7777 z123456@turing:~/csci241/Assign4$

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!