
Instruction formats and addressing modes
Authored by Carlos Tessier
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What RISC-V format corresponds the image?
R-type
I-Type
S-Type
U-Type
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The pseudo-instruction mv reg2, reg1 what is equivalent to
add reg2, zero, reg1
and reg2, zero, reg1
sub reg1, zero, reg2
or reg1, zero, reg2
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The instruction li a0 0x25 what type of addressing mode is?
Immediate
Implicit
Direct
Indirect
Relative
4.
FILL IN THE BLANK QUESTION
1 min • 10 pts
What instruction load in R1 the word stored in address (IEEE 694)
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is a NO a disadvantage of Direct addressing with operand in memory?
memory access time is larger than register access time
large fields involve large instructions
capacity is smaller than register file
All statements are true
6.
FILL IN THE BLANK QUESTION
1 min • 10 pts
what is the value for end_while label in the instruction bge t1 t0 end_while?
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is the value for end loop1 label in beq x0 x0 loop1?
-28
-24
40
21
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?