Question: Procedures - Assembly - Intel Processors X86 Lab #5: Direct Addressing, Input, and ASCII code Purpose: The main purpose of this lab assignment is to

Procedures - Assembly - Intel Processors X86Procedures - Assembly - Intel Processors X86 Lab #5: Direct Addressing, Input,and ASCII code Purpose: The main purpose of this lab assignment is

Lab #5: Direct Addressing, Input, and ASCII code Purpose: The main purpose of this lab assignment is to demonstrate understanding of how to use procedures (subroutines). It requires modification of the previous lab You have up to 1 week to complete this lab Introduction: Procedures typically are passed parameters (if needed) before they are called. The output of the procedure can also be a parameter if necessary. In Intel Assembly parameters can be passed via registers or the stack Procedure: Write an assembly program that receives the variables X and Y from the keyboard and in the following: DW X DW loc DD DW Sum DW loc Y 160 X 2 Y 1000 Sum loc/8 Y +Y/4. Y/100 W Sum 7 5 A typical session will look like the following Input X- 60 Input Y- 8 Calculating W Output W- 10 Lab #5: Direct Addressing, Input, and ASCII code Purpose: The main purpose of this lab assignment is to demonstrate understanding of how to use procedures (subroutines). It requires modification of the previous lab You have up to 1 week to complete this lab Introduction: Procedures typically are passed parameters (if needed) before they are called. The output of the procedure can also be a parameter if necessary. In Intel Assembly parameters can be passed via registers or the stack Procedure: Write an assembly program that receives the variables X and Y from the keyboard and in the following: DW X DW loc DD DW Sum DW loc Y 160 X 2 Y 1000 Sum loc/8 Y +Y/4. Y/100 W Sum 7 5 A typical session will look like the following Input X- 60 Input Y- 8 Calculating W Output W- 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!