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

Read file in 8086, Write a procedure to read a text file and copy its cont...

Write a procedure to read a text file and copy its contents to another text file using 8086 assembly language .

Assignment, Write an assembly program that adds the elements in the odd ind...

Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register?

Assembly language programming, Write an assembly language program that defi...

Write an assembly language program that defines symbolic constants for all seven days of the week

Project 1: Text Conversion, I need a text conversion program written in ass...

I need a text conversion program written in assembly language

Minecraft/Terminal issues, I am running a small minecraft server off of my ...

I am running a small minecraft server off of my old mac mini, and am having a big issue. My computer isn''t very good, and even just running this server is an issue. I use a comma

Write an assembly language program, Your assignment for this project is to ...

Your assignment for this project is to write an assembly language program that checks if the user's input is a valid ISBN number. A sample run of your program might look like:

Adc-arithmetic instruction-microprocessor, ADC: Add with Carry:- This instr...

ADC: Add with Carry:- This instruction performs the similar operation a like ADD instruction, but adds the carry flag bit (which might be set as a result of the previous calculatio

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