Question: After executing the following program, what is the value of $pc at clock cycle 20? Assume the instruction at memory location Ox100 is executed at

 After executing the following program, what is the value of $pc

After executing the following program, what is the value of $pc at clock cycle 20? Assume the instruction at memory location Ox100 is executed at clock cycle 1 and each instruction takes 1 clock cycle to execute Express your answer in the following format: 0xOAB (zero, lowercase x, followed by 3 hexadecimal digits, capitalizing letters A-F) instr instr addr 0x100 Main: NOP 0x104 0x108 JAL Sub2 NOP 0x200 Sub1: NOP 0x204 0x208 0x20C 0x210 0x214 0x218 SUBI Ssp Ssp 4 SW Sra (Ssp) JAL Sub3 JR Sra LW Sra (Ssp) ADDI Ssp Ssp 4 0x300 Sub2: NOP 0x304 0x308 0x30C 0x310 0x314 0x318 0x310 0x310 SUBI Ssp Ssp 4 SW Sra (Ssp) JAL Sub1 NOP NOP LW Sra (Ssp) ADDI Ssp Ssp 4 JR Sra 0x400 Sub3 NOP 0x404 JR Sra After executing the following program, what is the value of $pc at clock cycle 20? Assume the instruction at memory location Ox100 is executed at clock cycle 1 and each instruction takes 1 clock cycle to execute Express your answer in the following format: 0xOAB (zero, lowercase x, followed by 3 hexadecimal digits, capitalizing letters A-F) instr instr addr 0x100 Main: NOP 0x104 0x108 JAL Sub2 NOP 0x200 Sub1: NOP 0x204 0x208 0x20C 0x210 0x214 0x218 SUBI Ssp Ssp 4 SW Sra (Ssp) JAL Sub3 JR Sra LW Sra (Ssp) ADDI Ssp Ssp 4 0x300 Sub2: NOP 0x304 0x308 0x30C 0x310 0x314 0x318 0x310 0x310 SUBI Ssp Ssp 4 SW Sra (Ssp) JAL Sub1 NOP NOP LW Sra (Ssp) ADDI Ssp Ssp 4 JR Sra 0x400 Sub3 NOP 0x404 JR Sra

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!