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


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
Get step-by-step solutions from verified subject matter experts
