Question: Question 2 : ( 5 + 8 + 7 = 2 0 Marks ) CO 2 a . Assume that your student ID is a

Question 2:
(5+8+7=20 Marks )
CO2
a. Assume that your student ID is a Hexadecimal number and the first two
digits have been stored in the AL register and the last two digits in the BL
register. Now, determine the value stored in the destination for each line
of the following instructions.
i.e. if your student ID is 201014071then Ax will hold 20H and Bx will
hold 71H.
Hints: The register only deals with Hexadecimal numbers.
b. Suppose the summation (Decimal) of the first four digits of your student
ID has been stored in the CL register (Hexadecimal). Illustrate
step-by-step simulation for the following instructions.
c. Write an assembly program to store the digits of your student ID in an
array and then display the summation of the numbers from that array.
Important information that must be followed : my student id is 201014071, so please do the math where Ax will hold 20H and BX will holde 71H
Question 2 : ( 5 + 8 + 7 = 2 0 Marks ) CO 2 a .

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 Programming Questions!