Question: Write an assembly code to load the following 3 2 - bit constant equivalent of 8 1 9 3 into the register x 1 8

Write an assembly code to load the following 32-bit constant equivalent of 8193 into the register x18?
Hint: (8193 in Binary format will be 00000000000000000010000000000001)
a. Iui x18,8
addi x18,x18,1
b. Iui x18,8193
addi x18,x18,0
C. Iui x18,2
addi x18,x18,1
d. addi x18,x18,8193
 Write an assembly code to load the following 32-bit constant equivalent

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!