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.student submitted image, transcription available below

(16 marks) Question 3: Consider the below program. 1: 2: 3: 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 4: 5: 6: (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

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