Machine language used by sim virtual computer simulator

Assignment Help Programming Languages
Reference no: EM1350090

Q1) You have to write a program in the machine language used by the SIM virtual computer simulator package to compute the sum of the four numbers stored in memory addresses A1, A2, A3 and A4. First, you introduce four hexadecimal numbers in 2's complement notation in the corresponding addresses; your program must get these numbers, calculate the sum of all the numbers and store the result of the addition at memory location A5. est Data and Results Run your program with different set of numbers positive and negatives. See below two examples of what you need to do to create your test data:

Decimal numbers Hexadecimal Numbers Operation Expected Result Actual Result (result obtained by the SIM program) 20, 30, 10, 15 14, 1E, 0A, 0F 20+30+10+15 = 75 4B 2, -5, 7, -12 02, FB, 07, F4 2-5+7-12=-8 F8

Reference no: EM1350090

Questions Cloud

Computing cost of building : Janel Co acquired a building valued at $120,000 for property tax purpose in exchange for$8,000 shares of its 5 par common stock. The stock is selling for $15 per share. At what amount should the building be recorded by Janel Co.?
Explain how re-writing your goals in s.m.a.r.t : Write summary of Explain how re-writing your goals in S.M.A.R.T. goal format changed the way you look at the goals.
Encode audio data in two packets : How might you encode audio (or video) data in two packets so that if one packet is lost, then resolution is simply decreased to what would be expected with half bandwidth?
Human personality is a product of nature : In a group discussion someone argues "that human personality is a product of nature, you're born with a certain personality type, it stays the same throughout your life, and there is little that nurture or environment can do to change that"
Machine language used by sim virtual computer simulator : Write a program in machine language used by the SIM virtual computer simulator package to calculate the sum of the four numbers stored in memory addresses A1, A2, A3 and A4.
Explain developing countries and how they differ : Explain developing countries and how they differ from industrial market economies and How can international trade aid development
Description of variable cost : If a company sells a product at $60.00 per unit that has unit variable costs of $40.00 The co break-even sales volume is $120,000 How much profit will the company make if it sells 4,000 units? Please explain.
Effective techniques in preventing or resolving conflict : What are at least two effective techniques in preventing or resolving conflict
Core social motives to predict individual behavior : Finally, explain one way you might use core social motives to predict individual behavior within your current field or your field of interest.

Reviews

Write a Review

Programming Languages Questions & Answers

  Create nested menus interface for a check-in hotel

Create a nested menus interface for a check-in and check-out hotel reservation system that can be used internationally. Use numbers to select a menu item.

  Creating website-based sales system for retail firm

Assume that you have been hired to create website-based sales system for large international retail sales firm.

  Create class templates for administrative employess

Create classes or class templates for the following: Administrative Employess are paid a salary, but they also receive a bonus at regular intervals during the year.

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Recursive method to read in string of characters

Trying to write a recursive method that reads in a string of characters and checks to see if the first character is either a 'D' or and 'E', then is followed by a string of one or more 'F's.

  Creating webpage using css

In creating a web page, depending on the information you are trying to convey. What are CSS?

  Program to track which user is logged onto which computer

Write a computer program that could be used to track, by lab, which user is logged onto which computer.

  Program has function named presentvalue for calculations

Write a program that has a function named presentValue that performs this calculation. The function should accept the future value, annual interest rate, and number of years as arguments.

  Write a perl program

Write perl program which will run on my system and will start another perl program on another linux system. The main program should wait for linux perl program to complete its work and send the result to my main perl program.

  Program to prompt a user for hourly pay rate

Create program called "calculatePay" which will prompt user for their hourly pay rate.

  Design a class-based solution to a problem

To design a class-based solution to a problem using multiple data structures.

  Building airline reservation system

Problem Description The aim of this project is to build airline reservation system. System must give two basic sets of services to an airline: First set of services allows the airline to provision its system.

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