Question: Computer Intel x86 - ASM - Assembly Language Input Output - Multiple Digits - Procedures - Conditional Branch - Subroutine PLEASE READ THE PROCEDURE -
Computer Intel x86 - ASM - Assembly Language
Input Output - Multiple Digits - Procedures - Conditional Branch - Subroutine
PLEASE READ THE PROCEDURE - MOST IMPORTANT PART OF THE LAB



Lab #6: Input/output, Multiple Digits, Procedures, Conditional Branch Purpose: The main purpose of this lab assignment is to demonstrate understanding of how to use procedures (subroutines). Another objective is to learn how to handle multiple decimal digits that have to be collected from the keyboard or displayed on the screen. It requires modification of the previous labs 3, 4, and 5 You have up to 2 weeks to complete this lab Introduction In lab 3 you learned how to output ASCII values to the screen. In lab4 you learned how to input ASCII decimal digits from the keyboard. In lab5 you learned how to deal with procedures. Although you were asked to Procedures typically are passed parameters (if needed befo they are called. The output of the procedure can also be a paramet if necessary. In Intel Assembly parameters can be passed via registers or the stack. In this assignment you can use either method to pass parameters. Requirements: Modify Labs 3, 4, and 5 as follows 1) LAB3: Use the complete algorithm for outputting multiple decimal digits to the screen. It involves converting binary number to decimal digits 2) LaB4: Implement complete algorithm for inputting decimal digits from the keyboard. These digits must be converted to binary number. 3) LAB5: We want to see better modularity of procedures via proper parameter passing. No procedure should access parameters via global variables. Parameters can be passed by value or by reference as needed. 4) Program stays in a loop until q' uit) key is pressed. Lab #6: Input/output, Multiple Digits, Procedures, Conditional Branch Purpose: The main purpose of this lab assignment is to demonstrate understanding of how to use procedures (subroutines). Another objective is to learn how to handle multiple decimal digits that have to be collected from the keyboard or displayed on the screen. It requires modification of the previous labs 3, 4, and 5 You have up to 2 weeks to complete this lab Introduction In lab 3 you learned how to output ASCII values to the screen. In lab4 you learned how to input ASCII decimal digits from the keyboard. In lab5 you learned how to deal with procedures. Although you were asked to Procedures typically are passed parameters (if needed befo they are called. The output of the procedure can also be a paramet if necessary. In Intel Assembly parameters can be passed via registers or the stack. In this assignment you can use either method to pass parameters. Requirements: Modify Labs 3, 4, and 5 as follows 1) LAB3: Use the complete algorithm for outputting multiple decimal digits to the screen. It involves converting binary number to decimal digits 2) LaB4: Implement complete algorithm for inputting decimal digits from the keyboard. These digits must be converted to binary number. 3) LAB5: We want to see better modularity of procedures via proper parameter passing. No procedure should access parameters via global variables. Parameters can be passed by value or by reference as needed. 4) Program stays in a loop until q' uit) key is pressed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
