(b) Assume x5-0x00000000000000000 and x6-0x000000000000000A. What is the value of x5 after executing the following instructions? (7) -1 =: 1001 LOOP: beq x6, x0, DONE addi x6, x6, -1 addi x5, x5, 2 jal x0, LOOP DONE: X5= 2 Hexadecinyal addiggal X6 = 011010 -6
show the details please and the final answer, thanks alot..🤍
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
show the details please and the final answer, thanks alot..🤍
show the details please and the final answer, thanks alot..
(b) Assume x5-0x00000000000000000 and x6-0x000000000000000A. What is the value of x5 after executing the following instructions? (7) -1 =: 1001 LOOP: beq x6, x0, DONE addi x6, x6, -1 addi x5, x5, 2 jal x0, LOOP DONE: X5= 2 Hexadecinyal addiggal X6 = 011010 -6
(b) Assume x5-0x00000000000000000 and x6-0x000000000000000A. What is the value of x5 after executing the following instructions? (7) -1 =: 1001 LOOP: beq x6, x0, DONE addi x6, x6, -1 addi x5, x5, 2 jal x0, LOOP DONE: X5= 2 Hexadecinyal addiggal X6 = 011010 -6