Question: Question#3 (8 pts) Given the following code that allows the user to insert string from keyboard using DOS interrupt: ORG 1000H DATA1 DB 15,?, 15


Question\#3 (8 pts) Given the following code that allows the user to insert string from keyboard using DOS interrupt: ORG 1000H DATA1 DB 15,?, 15 DUP(AA) MOV AH, 0AH MOV DX, OFFSET ARRAY1 INT 21H A- What's the contents of the following locations upon executing the code: 1000H: 1001H : 100AH : B- If the user Inserts the string MICROPROCESSOR and presses the CR, what will be the contents of the following locations: 1001H: 100EH : C- The IP address for the memory location holds the CR is: D- Using one instruction, change letter P in the string into letter F: Question 42(4pts) Using a single instruction, perform the following: (6pts) 1) Convert the ASCII code for a digit in AL. into an unpacked BCD number: 2) Given CF= 1. Increment AL without using INC or ADD: 3) Set the first 4 least significant bits in BL: 4) Divide DL by two
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
