Quarters, Dimes, Nickels,Pennies Assembly Program, Assembly Language

Assignment Help:
There are two parts to this assignment. The first part has you reading 4 integers representing; #QUARTERS, #DIMES, #NICKELS & #PENNIES, respectively.
Your program should compute the amount of money (in cents) represented by the input coin combination. You will output this amount with an appropriate label. As you are reading the input data, keep track of the total number of coins, and print the total with an appropriate label.
In the second part of the assignment you are to determine how to produce the equivalent change, using the fewest number of coins, where coins available are: quarters, dimes, nickels or pennies. Print out, with an appropriate label the number of each coin used. A sample program execution is displayed below, where input data is in italics, and program output in bold face print.

3
12
15
26
The input change amounts to 296 cents, using 56 coins.
The same change could be made with:
Quarters = 11
Dimes = 2
Nickels = 0
Pennies = 1
Total Coins = 14

HINT:
Use the INDEC procedure to read in the numbers.
Use the OUTDEC procedure to write out the numbers.

Related Discussions:- Quarters, Dimes, Nickels,Pennies Assembly Program

Sbb-arithmetic instruction-microprocessor, SBB: Subtract  with Borrow  :- ...

SBB: Subtract  with Borrow  :- The subtract with borrow instruction subtracts the source operand and the borrow flag (CF) which might reflect the result of the past calculations,

Prime finder - assembly program, Prime Finder - assembly program: Pro...

Prime Finder - assembly program: Problem:  Prime Finder   In this problem you will write a small program that tests whether a given integer is a prime number or not.  Let's

Estimation of a definite integral, Can any one assist me with this program....

Can any one assist me with this program. I am not efficient with assembly language and I need assistance badly. I am not asking anyone to do my work I just need help step by step

Assebmly code, You have to write a subroutine (assembly language code using...

You have to write a subroutine (assembly language code using NASM) for the following equation.

Develop an assembly language program, • To develop an assembly language pro...

• To develop an assembly language program to control a "simulated" intelligent domestic lighting system with the intention of deterring burglary. • To produce a schematic circuit d

Intel''s 8237 dma controller-microprocessor, Intel's 8237 DMA controller : ...

Intel's 8237 DMA controller : 1) The 8237 contain 4 independent I/O channels 2) It contains 27 registers, 7 of which are system-wide registers and 5 for each channel. 3)

Plus and underline , What is the hex for + and - under with a sum involved

What is the hex for + and - under with a sum involved

Lods-stos-string manipulating instruction-microprocessor, LODS : Load Stri...

LODS : Load String Byte or String Word:- The LODS instruction loads AL/AX register by the content of a string pointed to by DS:SI register pair. The SI is automatically modifie

Introduction to evaluation, This unit introduces the topic of evaluating in...

This unit introduces the topic of evaluating interactive products. It is a short unit as evaluation is discussed in more detail in Block 4. Its brevity should give you additional t

Assignment, You have to write a subroutine (assembly language code using NA...

You have to write a subroutine (assembly language code using NASM) for the following equation. Dx= ax2+(ax-1)+2*(ax+2)/2

Write Your Message!

Captcha
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