Question
This question describes two new instructions we might consider adding to the Y86-64 processor. Give the actions that a SEQ-style Y86-64 implementation would take in
This question describes two new instructions we might consider adding to the Y86-64 processor. Give the actions that a SEQ-style Y86-64 implementation would take in each stage to execute the instruction. For each instruction, fill out the table below, with a row for Fetch, Decode, Execute, Memory, Write Back, and PC update. Use signal names like valA, and R[...] and M[...] to represent access to the register file and memory respectively. The leave instruction is used to clean up a stack frame when a frame pointer is in use. It first copies the frame pointer %rbp into the stack pointer %rsp and then it pops the top entry of the stack into %rbp. In other words, it is equivalent to the two-instruction sequence: movq %rbp, %rsp popq %rbp The indirect jump instruction jmp *D(rA) jumps to a code address stored at the location D + rA, like the x86-64 instruction used to implement a jump table.
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