Question: 1: 2: 3: 4: 5: 6: Consider the below program. MOV AX, 10 ; AX = 10 ADD AX, BX ;AX += BX SUB
1: 2: 3: 4: 5: 6: Consider the below program. MOV AX, 10 ; AX = 10 ADD AX, BX ;AX += BX SUB BX, CX ;BX -= CX JL XXX ADD CX, AX ;CX += AX ADD AX, 3 ; AX += 3 ; branch to XXX if AX < 0 (a) Determine the instruction issue rate if it is run on a Pentium-based processor. Show your steps clearly. (8 marks) (b) Suppose the program is to be run on an OOE processor and the register AX, BX, CX are to be renamed to remove the dependency. Determine the number of physical registers required for renaming AX, BX, and CX, respectively. Show your steps clearly. (8 marks)
Step by Step Solution
There are 3 Steps involved in it
a Pentiumbased processors can issue two instructions per cycle but only if the two instructions are independent In the given program there are two data dependencies The ADD AX BX instruction depends o... View full answer
Get step-by-step solutions from verified subject matter experts
