diff options
| -rw-r--r-- | fibonacci.s | 5 | ||||
| -rw-r--r-- | riscvtest_rom_image.txt | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/fibonacci.s b/fibonacci.s index 3e8ddd0..c3e75ba 100644 --- a/fibonacci.s +++ b/fibonacci.s | |||
| @@ -12,6 +12,5 @@ loop: addi x5, x5, 4 | |||
| 12 | lw x29, 0(x7) | 12 | lw x29, 0(x7) |
| 13 | add x30, x28, x29 | 13 | add x30, x28, x29 |
| 14 | sw x30, 0(x5) | 14 | sw x30, 0(x5) |
| 15 | beq x5, x9, done | 15 | blt x5, x9, loop |
| 16 | beq x5, x5 loop | 16 | done: bne x5, x9 done \ No newline at end of file |
| 17 | done: beq x5, x5 done \ No newline at end of file | ||
diff --git a/riscvtest_rom_image.txt b/riscvtest_rom_image.txt index da8099b..163add7 100644 --- a/riscvtest_rom_image.txt +++ b/riscvtest_rom_image.txt | |||
| @@ -11,6 +11,5 @@ ff828393 | |||
| 11 | 0003ae83 | 11 | 0003ae83 |
| 12 | 01de0f33 | 12 | 01de0f33 |
| 13 | 01e2a023 | 13 | 01e2a023 |
| 14 | 00928463 | 14 | fe92c2e3 |
| 15 | fe5280e3 | 15 | 00929063 |
| 16 | 00528063 | ||
