Find the average of four 16-bit unsigned integers

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

Program: Write a program (starting at address $4000) to find the average of four 16-bit unsigned integers stored at locations $5000, $5002, $5004 and $5006 and store the 16-bit result at location $5010.

Round your result to the nearest integer. (You can assume that the sum of the four integers is not greater than 64K). Initialize your four numbers to be 302, 420, 1000 and 1529 (decimal). Enter your program into the MiniIDE and assemble it. Load your assembled code into the simulator and check that it operates correctly.

In your report, show your code and show a screen shot of the simulator after your program has completed with the memory display window set to show addresses starting at $5000.

You need to create a program to find the average of the number.

Reference no: EM13700733

Questions Cloud

What is the force constant for the co bond : Explain the difference between a fluorescence emission spectrum and a fluorescence excitation spectrum and Which more closely resembles an absorption spectrum? Why do some absorbing compounds fluoresce but others do not?
What is the molar mass of the acid : Question- Titration of an unknown diprotic acid weighing 0.1206 g requires 12.67 mL of 0.1268 M NaOH. What is the molar mass of the acid
Briefly describe the three-way handshake : Briefly describe the three-way handshake and Why is a source and destination port number an important part of a TCP or UDP segment when establishing a connection?
What is the potential for the cell : Question- A cell is constructed by immersing a srip of silver in 0.10 m AgNO3 solution and a strip of lead in 1.0 m Pb(NO3)2 solution. A wire and salt bridge complete the cell. What is the potential for the cell
Find the average of four 16-bit unsigned integers : Write a program (starting at address $4000) to find the average of four 16-bit unsigned integers stored at locations $5000, $5002, $5004 and $5006 and store the 16-bit result at location $5010.
Outline a synthetic pathway of compounds : Question- Outline a synthetic pathway for preparing each of the following compounds, using the Grignard reaction and starting with benzene or toulene (a) 1,1-diphenylethanol; (b) 1,2-diphenylethanol; (c) 2,2-diphenylethanol; (d) 2,3-diphenyl-2-but..
Display the complete fibonacci sequence : Display the complete Fibonacci sequence until u reach a value less than or equal one million - display the count of how many numbers are in that sequence between 1 and 1000000
How many minutes are required to deposit spoon : Question- A spoon is to be electroplated with gold using 1.0 m AU(NO3)3 and 2.57 A of current. How many minutes are required to deposit 5.50 grams of gold on the spoon
Prepare a method that will guess the root of a number : Using binary search/interval halving, prepare a method that will guess the root of a number (JAVA)

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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