topgradehub-essays

a program to “simulate” the operations of a theoretical machine called ITSIAC

ITSIAC ASSIGNMENT

We Write Essays For Students

Tell us about your assignment and we will find the best writer for your paper

Write My Essay For Me

CSC 40600                                                                                      February 8, 2016

 

Your individual assignment in CSC 40600 is to write a program to “simulate” the operations of a theoretical machine called ITSIAC.  You are to simulate the machine in accordance with the handouts provided by your instructor.  NO EXTERNAL DOCUMENTATION IS REQUIRED FOR THIS PROGRAM.  However, your programs must be very readable, well structured, and include a very healthy dose of internal documentation (program comments). A generalized algorithmic approach to the program is given below.  The program is due on March 24, 2016 (The Thursday before Spring Break – note Friday is Easter Break).

 

PROGRAM SPECIFICATIONS:  All printed output must be in hexadecimal format and be appropriately labeled.  Input data will be in simulated binary format.  You may use any number system to process the data.

 

INPUT:  The data will consist of two parts.  The first part will be the Machine Language code that is to be executed.  The second part will contain the numeric data.  The input data file is located on PC Common under the name of Data_its.txt.  A sentinel character string of 16 Xs will be used to separate the two parts of the input file.  Each Machine Language instruction will be a sixteen digit binary number consisting of two parts.  The first part is eight characters long and will represent the Op Code.  The second part will also be eight characters long and will represent the Operand. The Machine Language code is to be stored at the first location in your simulated Primary Storage.

The numeric data is stored using the two’s compliment representation of integers and will also be in the form of a sixteen bit binary number.  It will consist of a series of fifty numbers and will be of type INTEGER. Numeric data is to be stored in Primary Storage beginning at location number 50.  The integer values will range from  -999  up to and including +999 .   Each record in the data file will contain one Machine Language instruction or one integer number.

 

PROCESSING:  This program is to simulate executing a program that computes a total for a group of numbers.  While the program is running, keep a record of BOTH the number of machine level instructions executed and the number of microinstructions executed.  Use two counters – One to keep track of the number of ML instructions (LOAD,STORE,ADD,SUBTRACT, etc.) executed and the other is to keep track of the number of microinstructions executed.  THESE COUNTERS MAY BE GLOBAL VARIABLES.

 

OUTPUT: Output for this program is to consist of four parts.  They are:

  1. ECHO print the input file. (Make sure it has a label)
  2. Print the following AFTER all of the initialization is complete but BEFORE any micro code instructions are

executed:     A. the contents of Primary Memory.

  1.                the contents of the seven ITSIAC registers.
  2. 3. After the program has completed its run, print primary storage and the contents of all the registers OUTPUT

MUST BE IN THE FORM OF HEXADECIMAL NUMBERS.

  1. Then print the value of both counters using decimal format.

  

    Remember all output (except the counters) is to be in hexadecimal notation.  In addition, all output of

ORDER A SIMILAR ESSAY WRITTEN FROM SCRATCH

Save time and money with our essay writers for hire. If you are in search of a dependable academic support provider that offers more than just typical writing services, you have come to the right place. As a cost-effective essay writing service, we not only assist you in crafting outstanding papers but also provide complimentary features.

PLACE YOUR ORDER

Share your love