Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have the following: For Pseudo Direct Jump addressing, what would an example of the address in the instruction contain? In the top loop example

I have the following:

image text in transcribed

image text in transcribed

For Pseudo Direct Jump addressing, what would an example of the address in the instruction contain? In the top loop example is the actual address in the instruction 20000 or 80000? What would it contain before it is multiplied by 4?

Thanks

Addressing Example Assume Loop at location 80000 PC value when bne is executed (0x80010) + 2 x 40x80018 80000 Loop: sl $t1, $s3, 2 80004 80008 8000C 80010 80014 80018 Exit: add $t1, $t1, $s6 lw $t0, 0($t1) bne $t0, $s5, Exit addi $s3, $s3, 1 Loop Il bne Sto, $s5, 2 //j 20000 [31:28] of PC value when j is executed (0x0) : 0x20000 x4 0x80000

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

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 Tsukuba Japan April 2010 Proceedings Part 1 Lncs 5981

Authors: Hiroyuki Kitagawa ,Yoshiharu Ishikawa ,Wenjie Li ,Chiemi Watanabe

2010th Edition

3642120253, 978-3642120251

More Books

Students also viewed these Databases questions

Question

Define procedural justice. How does that relate to unions?

Answered: 1 week ago