Menu

[solved]-Assume Following Code Executed Pipe Machine Forwarding 0x000 Pos 0x000 30f6580000000000000 Q39018735

Assume the following code is executed on the PIPE machine that does forwarding: 0x000: -pos 0x000: 30f65800000000000000 irmov

Assume the following code is executed on the PIPE machine that does forwarding: 0x000: -pos 0x000: 30f65800000000000000 irmovg numi, prsi 0x00a: 30f76000000000000000 irmovq num2, Ardi ex014: 50660000000000000000 mrmova (%rsi), frsi exøle: 50770000000000000000 mrmova (rdi), Srdi 0x028: 6176 subq rdi, Ersi #*rsi – %rdi 0x02a: 724600000000000000 jl less 0x033: 30f00000000000000000 irmova $0, %rax 8x03d: 705000000000000000 jmp done 8×946: 30f00100000000000000 | less: irmovq $1, *rax 0x050: 00 | done: halt 0x058: .align 8 0x058: 00000000000000 num1: quad 12 0x060: 0800000000000000 num2: quad 8 What instruction is fetched after the Ox02a: 724600000000000000 jl less Select one: a. Ox050: 00 done: halt O b. Ox03d: 705000000000000000 jmp done O c. Ox033: 30f00000000000000000 irmovq $0, xrax O d. 0x046: 30f00100000000000000 | less: irmovq $1, krax Show transcribed image text Assume the following code is executed on the PIPE machine that does forwarding: 0x000: -pos 0x000: 30f65800000000000000 irmovg numi, prsi 0x00a: 30f76000000000000000 irmovq num2, Ardi ex014: 50660000000000000000 mrmova (%rsi), frsi exøle: 50770000000000000000 mrmova (rdi), Srdi 0x028: 6176 subq rdi, Ersi #*rsi – %rdi 0x02a: 724600000000000000 jl less 0x033: 30f00000000000000000 irmova $0, %rax 8x03d: 705000000000000000 jmp done 8×946: 30f00100000000000000 | less: irmovq $1, *rax 0x050: 00 | done: halt 0x058: .align 8 0x058: 00000000000000 num1: quad 12 0x060: 0800000000000000 num2: quad 8 What instruction is fetched after the Ox02a: 724600000000000000 jl less Select one: a. Ox050: 00 done: halt O b. Ox03d: 705000000000000000 jmp done O c. Ox033: 30f00000000000000000 irmovq $0, xrax O d. 0x046: 30f00100000000000000 | less: irmovq $1, krax

Expert Answer


Answer to Assume the following code is executed on the PIPE machine that does forwarding: 0x000: -pos 0x000: 30f65800000000000000 … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *