
RISC-V: Instruction
Quiz
•
Computers
•
University
•
Medium

Adnan Maruf
Used 3+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many registers are there in RISC-V?
31
16
64
32
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In RISC-V what is the instruction for the addition operation (i.e., you want to calculate the summation)
sub
addw
ld
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what does the following instruction do?
add a, b, c
b=a+c
a=b+c
c=a+b
a=a+b
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If variables x, y, and z are mapped to register x2, x3, and x4, respectively, then what would be appropriate RISC-V instruction for the following?
y = x - z
add x2, x1, x3
sub x2, x1, x3
add x3, x2, x4
sub x3, x2, x4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the byte address of the 5th element of an array that stores words?
32
40
20
64
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Let's assume A[10] is an array (double word), and the address of A[0] is stored in register x5; then, how do we load the 10th element of the array into x6?
ld x5, 10(x6)
ld x6, 10(x5)
ld x6, x5[80]
ld x6, 80(x5)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which instruction to use to store a double word in RISC-V?
sd
lw
sw
ld
Similar Resources on Wayground
10 questions
DBMS - relational calculus and entity relationship model
Quiz
•
University
10 questions
data manipulation
Quiz
•
University
10 questions
OPPO Jan Virtual
Quiz
•
University
10 questions
COA - Chapter 1
Quiz
•
University
10 questions
Pembelajaran 2
Quiz
•
University
10 questions
Quiz Statistika dan Probabilitas
Quiz
•
University
10 questions
Star B_CA_Quiz1
Quiz
•
University
11 questions
UTS Organisasi dan Arsitektur Komputer (B) - 22-23-02
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University