Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (60 points) For each part of the following question, assume the following initial state Note that your answers to each part should use the

image text in transcribed

2. (60 points) For each part of the following question, assume the following initial state Note that your answers to each part should use the values below-your answer to part (a), for example, should not affect your answer to part (b) t0 -0x0000000B, $tl 0xFFFFFFFF, $t2OxABABABAC mem [ 0xABABABAC ] OxDEADBEEE mem [0xDEADBEEF]0x12345678 For each sequence of instructions below, list all changed registers or memory locations and their new values. When listing memory values, list the entire word-for example, if a byte is written to 0x00273000, show the values at addresses 0x00273000-0x00273003 a. addi $t4, $t0, -3 d. lui $s0, 0xABAB $s0, $s0, 0xABAC $s2, 2 ($s0) $s3, 3 ($s0) $s4, $s2, $s3 $s3, 0 ($s0) sub add $t4, $t4, $tl $t5, $t4, $tO ori lh lb and SW or ori sra $t5, $t0, $t1 $t6, $t5, 0x1110 t7, $t6, 3 e. slt beq add 1: add $s0, $zero, L t0, $t0, $t1 $t3, $t0, $t0 $t4, 0 ($t2) addi $t5, $t4, 1 SW $t5, 4 ($t2) Note: Indicate if the branch is taken. 2. (60 points) For each part of the following question, assume the following initial state Note that your answers to each part should use the values below-your answer to part (a), for example, should not affect your answer to part (b) t0 -0x0000000B, $tl 0xFFFFFFFF, $t2OxABABABAC mem [ 0xABABABAC ] OxDEADBEEE mem [0xDEADBEEF]0x12345678 For each sequence of instructions below, list all changed registers or memory locations and their new values. When listing memory values, list the entire word-for example, if a byte is written to 0x00273000, show the values at addresses 0x00273000-0x00273003 a. addi $t4, $t0, -3 d. lui $s0, 0xABAB $s0, $s0, 0xABAC $s2, 2 ($s0) $s3, 3 ($s0) $s4, $s2, $s3 $s3, 0 ($s0) sub add $t4, $t4, $tl $t5, $t4, $tO ori lh lb and SW or ori sra $t5, $t0, $t1 $t6, $t5, 0x1110 t7, $t6, 3 e. slt beq add 1: add $s0, $zero, L t0, $t0, $t1 $t3, $t0, $t0 $t4, 0 ($t2) addi $t5, $t4, 1 SW $t5, 4 ($t2) Note: Indicate if the branch is taken

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

Icdt 88 2nd International Conference On Database Theory Bruges Belgium August 31 September 2 1988 Proceedings Lncs 326

Authors: Marc Gyssens ,Jan Paredaens ,Dirk Van Gucht

1st Edition

3540501711, 978-3540501718

More Books

Students also viewed these Databases questions

Question

Challenges Facing Todays Organizations?

Answered: 1 week ago