Introduction to 80 x 86 assembly language, Assembly Language

Using the windows32 framework, write a complete 80x86 program for Programming Exercises 4.3
number 3, on pages 130-131 of the textbook.
Follow all coding conventions mentioned in class.  It is expected that your program will be well
documented with comments.  Your program must have a comment block at the top describing the
program purpose, input, and output, along with your name, date, the course number, and section.
To submit your project, use the following instructions:
Open the main project folder (originally windows32, but possibly renamed).
Delete the Debug folder.
Delete the windows32.ncb file.
Select the remaining folder and files. (Control-A will do this.)
With all files highlighted, right-click anywhere in the group and select Send To, then Compressed
(zipped) Folder. This creates a zipped file in your project folder.
Rename the zipped file as (using your last name).
Upload the project to the Assignment link.

the question is listed below:

Suppose that someone has a certain number of coins (pennies, nickels, dimes, quarters, fifty-cent pieces, and dollar coins) and wants to know the total value of the coins, as well as how many coins there are. Write a program to help. Specifically, follow the design below.

prompt for and input the number of pennies;

total := number of pennies;

numberOfCoins := number of pennies;

prompt for and input the number of nickels;

total := total + 5 * number of nickels;

add number of nickels to numberOfCoins;

prompt for and input the number of dimes;

total := total + 10 * number of dimes;

add number of dimes to numberOfCoins;

prompt for and input the number of quarters;

total := total + 25 * number of quarters;

add number of quarters to numberOfCoins;

prompt for and input the number of fifty-cent pieces;

total := total + 50 * number of fifty-cent pieces;

add number of fifty-cent pieces to numberOfCoins;

prompt for and input the number of dollars;

total := total + 100 * number of dollars;

add number of dollars to numberOfCoins;

display "There are", numberOfCoins, "coins worth";

display total div 100, "dollars and", total mod 100, "cents";

Note that you are displaying dollars and cents for the total. Assume that all values will fit in doublewords.

Posted Date: 7/23/2012 2:47:18 AM | Location : United States

Related Discussions:- Introduction to 80 x 86 assembly language, Assignment Help, Ask Question on Introduction to 80 x 86 assembly language, Get Answer, Expert's Help, Introduction to 80 x 86 assembly language Discussions

Write discussion on Introduction to 80 x 86 assembly language
Your posts are moderated
Related Questions
Memory Segmentation : The  memory in an 8086/8088  based system is organized as segmented memory. In this scheme, the whole physically available memory can be divided into a n

INT N : Interrupt Type N:- In the interrupt structure of 8086/8088, 256 interrupts are distinct equivalent to the types from OOH to FFH. When an instruction INT N is executed,

There are 3 kinds of OCWs. The command word OCWI is utilized for masking the interrupt requests; when the mask bit corresponding to an interrupt request is value 1, then the requ

how to write the alp for matrix addition in microprocessor 8086?

A good starting point for your program is the toupper.asm program shown in class. It already queries the user for input and sets up a loop that looks at each character of the input

I want to do a program as a game by using the Microcontroller 8051 with the assembly language, by using 4*4 keypad and its matrix display. I have to use the keypad for playing the

Logical Instruction : This type of instructions is utilized for carrying out the bit by bit shift, basic logical operations or rotate. All of the condition code flags are affe

Hand shaking : Handshaking, or 2-way handshaking, is 1 type of strobe operation. It typically involves 2 handshaking lines: an output line to denote when the board is ready an

Will be needing help with assembly language assignments over the course of 4 weeks

DAA: Decimal Adjust Accumulator:- This instruction is utilized to convert the result of the addition operation of 2 packed BCD numbers to a valid BCD number. The conclusion has to