Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the 11 instructions shown below, fill the table with the numbers necessary to execute each instruction. See the figure attached for numbers associated with
For the 11 instructions shown below, fill the table with the numbers necessary to execute each instruction. See the figure attached for numbers associated with the simple computer. See the sample instruction addq %rax,%rbx. List numbers in the order in which they flow. You may ignore numbers 1,2,6,7,8,9,10,13,44,45 for this homework. Assume PC is filled with a correct address for fetching Circuit ->.https://web.njit.edu/~sohna/cs252/hw8-seq.pdf
Instruction | Fetch | Decode | Execute | Memory | Write Back |
---|---|---|---|---|---|
addq %rax,%rbx | 11,12,14,15,16,17,19 | 5,21,22,26,27 | 31,32,33,34,35,36,37,41 | --- | 38,22 |
rrmovq %rax,%rbx | |||||
irmovq 5,%rbx | |||||
mrmovq 5(%rdx),%rax | |||||
rmmovq %rax,5(%rdx) | |||||
push %rax | |||||
pop %rax | |||||
jne loop | |||||
call func | |||||
ret | |||||
cmovne %rax,%rbx |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started