Question: Q 1 How many bits does each value in the linecounts list take up in the microprocessor s memory ( 8 - bits, 1 6

Q1 How many bits does each value in the linecounts list take up in the microprocessors memory (8-bits, 16-bits, 32-bits)?
Why?
Q2 Explain the purpose of intentionally setting CL and DL to 1 at the beginning of the program? Make sure to differentiate
the meaning of CL and DL.(Hint: CL is counting something, DLs value is explained in the subroutine comments.)
Q3 Why do you think FFh was used to designate the end of the list of widget quantities? Is it possible that this could be a
problem if one of the assembly lines produces 255 widgets?
Q4 Related to Q1, what would happen if one of the lines produced more than 255 widgets?
Q5 Do you think you could add another 50,100,200, etc. numbers to the linecounts list? What might limit the number of
values you might be able to compare?
Q6 At the end of the GETLARGESTNUMBER subroutine, why do we have to increment the DL register by one? The comments
give us a clue.

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!