Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1- If you need values preserved in register between jumps and branches, which set of registers should you use? $t0-$t7 $s0-$s7 $v0-$v1 $at 2-Determine which

1- If you need values preserved in register between jumps and branches, which set of registers should you use?

$t0-$t7

$s0-$s7

$v0-$v1

$at

2-Determine which instructions are used to perform a SYSCALL to exit the program.

li $v0, 10 syscall

li $a0 10 syscall

la $a0, exit add $s0, $v0, $zero syscall

j exit

3-What does the BNE instruction do?

Branches to the location labelled label if $rs and $rt are not equal

Branches no matter what to the location stored in $ra

Branches to the location stored in $ra if $rs and $rt are not equal

Branches to the location labelled label if $rs and $rt are equal

4- True or false: You may write values directly to the program counter ($pc) register.

True

False

5- What does the I generally mean at the end of instruction names such as ADDIU?

Incognito mode

Immediate

Unsigned integer

Perform operation right away

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

Students also viewed these Databases questions