Question: : Consider the below program. 1: 2: 3: 4: 5: 6: MOV AX, 10 ;AX = 10 ADD AX, BX ;AX += BX SUB BX,
: Consider the below program. 1: 2: 3: 4: 5: 6: MOV AX, 10 ;AX = 10 ADD AX, BX ;AX += BX SUB BX, CX ;BX -= CX JL XXX ;branch to XXX if AX < 0 ADD CX, AX ;CX += AX ADD AX, 3 ;AX += 3 (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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
