Write program that accumulates and reports the sales

Assignment Help Assembly Language
Reference no: EM132236337

Project -

Write an assembly language program that accumulates and reports the sales for the Albatross Corporation. The Albatross Company has four salespeople who sell five different products. The four salesperson are each identified by a number from 1 to 4. Each product is identified by a number from 1 to 5. Sales are reported by entering the salesperson's number, the quantity sold, and the product number. For example, to report that salesperson 2 sold 100 units of product 4, you would enter 2 100 4.

Your program must store the sales data in a two-dimensional array (4 rows by 5 columns). Each row represents a salesperson. Each column represents a product. Initialize the array to zeroes and allows your user to enter data. When the user enters a negative number for a salesman number, terminate the input phase of your program and display a report that shows the total sales for each salesperson and the total sales for each product.

Section 9.4 of our textbook discusses two-dimensional arrays. Section 9.4.2 discusses Base-Index Operands and even contains an example of how to calculate row sum for a two-dimensional array.

Note - Need 2 versions of the solutions. For both the versions, the assembly program has to be written using Irvine32 library.

Reference no: EM132236337

Questions Cloud

Discuss the scientific concepts to the uses of fossil fuels : Explain the advantages and disadvantages related to both fossil fuels and renewable energy resources such as wind power, hydroelectricity.
What features did you see in the ehr that were helpful : Discuss the possible challenges one would face to convince healthcare providers to use this type of EHR. What features did you see in the EHR that were helpful?
Analyzing strategies of collusion in major league baseball : one of Major League Baseball’s (MLB) most controversial episodes in its troubled labor relations history concluded with a $290 million settlement
Why do you think you would like the most about working : Why do you think you would like the most about working as a forensic scientist? Why?
Write program that accumulates and reports the sales : COSC 2425 Project - Write an assembly language program that accumulates and reports the sales for the Albatross Corporation
Calculate IRR and main assumption about project evaluation : Do you see the way we should approach IRR suggested by McKinsey a useful recommendation? What are additional criteria on top of those we learnt in the class
What actions by employer should have been done differently : Explain in a two-page essay the process and steps your company will have to take to defend this action. Explain the defenses to the action and if the union.
Distinguish between protected and unprotected conduct : Distinguish between protected and unprotected conduct under the National Labor Relations Act. Choose the side of the employer or employee.
What arguments could be made for the opposite side : Distinguish between protected and unprotected conduct under the National Labor Relations Act. Choose the side of the employer or employee.

Reviews

Write a Review

Assembly Language Questions & Answers

  Create a assembly language subroutine

Create a assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n words and array C containing n long words

  Write a function in linux assembly

Write a function in Linux assembly

  Analog measurements

Prepare an assembly program for the correctly measures the wind direction

  Design a simple digital clock

Design a simple digital clock

  Write an assembly program

Prepare an Assembly program that reads in a number of cents.

  Write an assembly language program

Write an assembly language program for encrypting alphabates of a string

  Greatest common divisor of integers-masm assembly language

Must be done in MASM assembly language: Greatest common divisor of two integers is largest integer which will evenly divide both integers. GCD algorithm involves integer division in a loop.

  Write assembly program-find right admission price to movie

Write the Assembly program to find correct admission price to movie. Price of admission to a movie is $7 for kids (under 12) and $9 for adults.

  Create simple 8-bit alu using add-subtract-shift functions

Create a simple 8-bit ALU. Requirements:The eight functions that you will implement are: add, subtract, and, or, shift left logical, less than, shift right logical.

  Write assembly program print binary representation-integers

Write the assembly program called hw6_ex1, stored in file hw6_ex1.asm. This program must prompt user to enter signed 32-bit integer. Program must print out binary representation of the integer.

  Allot op-codes and add microcode to microprogram

Allot op-codes and add microcode to microprogram of Mic-1 to implement following instructions which are then included with IJVM instruction set.

  Write mips assembly program to read two non-negative numbers

Write MIPS assembly program to repeatedly read two non-negative integers and print integer product and quotient without using multiplication and division instructions.

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