- 4 Pts 3 Convert The Following C Code Into Risc V Assembly Program Assume I And J Are In Registers X3 And X4 Use 1 (22.8 KiB) Viewed 37 times
(4 pts) 3. Convert the following C-Code into RISC-V assembly program. Assume i and j are in registers 'x3' and 'x4'. Use
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
(4 pts) 3. Convert the following C-Code into RISC-V assembly program. Assume i and j are in registers 'x3' and 'x4'. Use
(4 pts) 3. Convert the following C-Code into RISC-V assembly program. Assume i and j are in registers 'x3' and 'x4'. Use other temporary registers as needed. Also, determine the values in registers 'x3' and 'x4' in the end. int a = 0; int b = 0; int i = 0; int j = 0; int n = = 10; int m = 5; for (a = 0; a <n; a++) { } i=i+1; for (b=0; b<m; b++) { } j=j+l;