Question: Question 2 : ( 5 + 8 + 7 = 2 0 Marks ) CO 2 a . Assume that your student ID is a
Question :
Marks
CO
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.
ie if your student ID is then will hold and will
hold
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
stepbystep 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 so please do the math where Ax will hold H and BX will holde H
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
