Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the drawing of the portion of the datapath that performs simple operations on registers (only) in the lecture notes. Suppose the instruction addq%rax,rbx is
Consider the drawing of the portion of the datapath that performs simple operations on registers (only) in the lecture notes. Suppose the instruction addq%rax,rbx is executed. Assuming \%rax is register 0 and contains the number 10 , and \%rbx is register 1 and contains the number 15, for every wire in the drawing (instruction, Read1, Read2, write reg, etc.), indicate what value that wire carries (e.g. "Read1 carries the number 12 "). Datapath fer reqister operations addq%rax,%rcxoparg1Carg2 In machine code: - reaks from arat + arg 2 - performs the op \begin{tabular}{|c|c|c|} \hline op & arg 1 & arg 2 \\ \hline & q1 & p \end{tabular} - writes result to org 2 bits representing, the operation and the ts the ition that HLU performs
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