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

  Called cbankaccount

Create a base class, called CBankAccount, and two additional classes (each derived from CBankAccount), called CSavingsAccount and CCheckingAccount.

  Implement the tronomino tiling algorithm

Implement the tronomino tiling algorithm,  our program should take an arbitrary input positive integer  k  in the Linux command line and generate a 2 k  * 2 k  board.

  Summarizing your predicted and actual output

Write a statement summarizing your predicted and actual output, and identify and explain any differences. For your conclusions, write at least one nontrivial paragraph that explains, in detail, either a significant problem you had and how you solv..

  Consider implementing subnetting to support three department

Consider implementing subnetting to support three departments within an organization. The three departments P, Q and R need support for 30, 40 and 60 hosts.

  Display the array, the average and the number of days above

Write a program that stores the daily temperatures for the month of April in an array name dailytemp. Calculate the average temperature for the month and the count the number of days that the daily temperature was above the average.

  Write the code

Write a program that allows an instructor to keep a grade book. Each students has scores for exams, homework assignments, and quizzes.

  Use c-strings without using the c-string library

write a program that implementd and test the following functions for use C-strings without using the c-string libaray  ( that is, you re NOT ALLOWED to use #include in this   program):

  Program to add numbers and display sum

For each of problems write C++ code to do the required task. Receive the number and find out whether it is odd or even.

  Implement the delivery company using the classes given in

implement the delivery company using the classes given in the class diagram above. construct a cpp file named

  Write a bouncing ball video game

The balls bounces within the screen where the two horizontal walls are fixed

  Implement the delivery company

Implement the delivery company using the classes given in the class diagram above.

  Given a character code to indicate the type of customer

Pete's Plumbing of Pompey sells to both retail and wholesale buyers. The retail buyer must pay New York State and Onondaga County sales tax (8%). However, the wholesale buyer does not pay sales tax and receives a volume discount on the amount purchas..

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