Simulate a simple microcontroller called the simpletron

Assignment Help C/C++ Programming
Reference no: EM13542022

Analyze a basic set of requirements for a problem

Compose basic C++ language programs

Create basic test cases for a program

Apply arrays, strings, and pointers

Declare and define constructors

Declare and define destructors

Compare and contrast public and private access specifiers in C++

Describe what is an attribute or data member of a class

Describe what is a method of a class

Apply and implement overloaded functions

Distinguish between pass-by-value and pass-by-reference

Discuss classes versus objects

Overview & Requirements:

For this assignment you will create a class to simulate a simple microcontroller called the Simpletron.

Building a microcontroller simulator is a fantastic way to build your understanding of how computers work. Deitel & Deitel have an interesting problem called the Simpletron and the Simple Compiler. Preview the section "Building Your Own Compiler"

In this assignment you will change the requirements of the Build your own computer discussion to create a class that will be the Simpletron. This class will encapsulate all of the operations of the Simpletron microcontroller. You may also want to include some code for the Fatal Errors.

By taking this approach you should be able to integrate a Simpletron into a standard text wrapper to run the computer. The external wrapper will then provide an interface to input and output from the microcontroller, load programs into the computer, run or step through the execution of a program.

Reference no: EM13542022

Questions Cloud

Picture yourself in the castle of helms deep : Picture yourself in the castle of Helm’s Deep from the Lord of the Rings. You are on top of the castle wall and are dropping rocks on assorted monsters that are 16.15 m below you. Just when you release a rock, an archer located exactly below you s..
What are the speeds and directions of the two balls : A Rubber ball mass m movie at a speed of 1.0 m/s in the positive x direction hits another rubber ball of a mass 2m at rest. what are the speeds and directions of the two balls moving afterwards
Find the period of the subsequent simple harmonic motion : A puck with mass m = 0.14kg slides along a frictionless horizontal surface at v = 5.9 m/s. It hits and sticks to the free end of a spring with k = 15 N/m. Find the period of the subsequent simple harmonic motion
The planet mercury has a mass : The planet Mercury has a mass that is 5.00% of that of Earth, and its gravitational acceleration is gmercury = 3.70 m/s2.From what height would you have to drop the rock on Earth so that the fall-time on both planets is the same?
Simulate a simple microcontroller called the simpletron : Building a microcontroller simulator is a fantastic way to build your understanding of how computers work. Deitel & Deitel have an interesting problem called the Simpletron and the Simple Compiler.
What are her new near and far points : A nearsighted person has near and far points of 11.0 cm and 20.0 cm, respectively. If she puts on contact lenses with power P=-3.00 D, what are her new near and far points
Determine the maximum barrier width : A certain semiconductor device requires a tunneling probability of T=10^-5 for an electron tunneling through a rectangular barrier with a barrier height of Vo=0.4eV. Determine the maximum barrier width
What is the surface density of atoms for a plane : If the lattice constant of the FFC structure is 4.75A, what is the surface density of atoms for a (100) plane
Determine what speed does the puck have : A 200g hockey puck is launched up a metal ramp that is inclined at a 30° angle. What speed does the puck have when it slides back down to its starting point

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Array of integers declared-initialized to number of tickets

Array of integers named parkingTickets has been declared and initialized to number of parking tickets given out by city police each day as beginning of current year.

  Write a program using the class as defined

Write a program using` the class as defined below. Put the class definition in a separate header file, and put all the functions' code in a separate Resource file.

  Person class that includes fields for last name

Create a Person class that includes fields for last name, first name, and zip code. Include a default constructor that initializes last name, first name, and zip code to "X" if no arguments are supplied. Also include a display function. Write a ma..

  Class to act as a generic array

Create a class to act as a generic array (i.e. the user will be able to choose the data type to be stored by passing the appropriate template argument.

  Calculate the plane coefficients

Calculate the plane coefficients (A,B,C and D)  of 3 points in a plane defined by P1, P2 and P3, and determine if the point P4 is behind or in front of the polygon surface contained within that plane.

  Define program testing & documentation

Devise a test plan carefully, making sure that the purpose of the particular test is clearly stated, the data for each test is specified (that is, any inputs expected from the user or the programmer), and a description of the expected result from ..

  Use gets() to input the user name into name

Use strcpy() and strcat() to build the anwer into fullname that consists of.

  Write a recursive function that takes a string as parameter

Write a recursive function that takes a string as a parameter and prints its reversal in the same function in c++

  Implement the basic properties of a bank account

Define the class bankAccount to implement the basic properties of a bank account. An object of this class should store the following data:

  Write a program to find the average value

Write a program to find the average value, the largest value, and the smallest value of a set of numbers supplied as input from the keyboard. The number of values in the data set must be in the range 0 to 20, inclusive.

  Write a program that reads from a file a list of course name

Write a program that reads from a file a list of course names, letter grades for each course and number of credits each course is worth. The program will read each course name, grade earned and number of credits from the file and print out the course..

  Properly store the number from variable value

1. Statement will properly store the number from variable  value  into the output file object AnsFile?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd