Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago