This document provides instructions for a pre-lab assignment on microprocessor architecture and assembly language. Students are asked to analyze an assembly code program that uses different addressing modes and determines what is displayed and where data is stored. They are also tasked with writing an assembly program that requests a user's name and age as input, then displays a personalized greeting message with the input values.
This document provides instructions for a pre-lab assignment on microprocessor architecture and assembly language. Students are asked to analyze an assembly code program that uses different addressing modes and determines what is displayed and where data is stored. They are also tasked with writing an assembly program that requests a user's name and age as input, then displays a personalized greeting message with the input values.
This document provides instructions for a pre-lab assignment on microprocessor architecture and assembly language. Students are asked to analyze an assembly code program that uses different addressing modes and determines what is displayed and where data is stored. They are also tasked with writing an assembly program that requests a user's name and age as input, then displays a personalized greeting message with the input values.
1. Figure 1 shows the source code for the program IO.asm. a. For each addressing mode used in this program, list down all the line numbers and statements where that addressing mode is used by completing table1 below b.
d. What is displayed on the user screen after line 5 is executed?
e. Where is your name being stored? f. Where is the actual number of characters entered with the DOS function A at line 7 is stored? 2. You are required to write an assembly language program (hello.asm) to perform the followings: a. Request the user to enter his name and age. The name can be up to 40 characters long, while the age is only two digits b. Display the following greeting message Hi <name> you are <age> years old. The <name> and <age> should be replaced with the name and age of the user