Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle Database Architecture

Authors: Thomas Kyte, Darl Kuhn

3rd Edition

1430262990, 9781430262992

More Books

Students also viewed these Databases questions