Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
didriklundberg committed Sep 13, 2024
1 parent c4b43b0 commit ddd015c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/lifter/selftest_riscv.sml
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ val _ = print_msg "\n";
* memory address in x2 with offset 8 *)
val _ = riscv_test_hex_print_asm "SW x14, 8(x2)" "00E12423";

(* Usage of the zero register: ("SW x0, 0(t2)") *)
val _ = riscv_test_hex_print_asm "SW x0, 0(t2)" "0003A023";
(* Usage of the zero register: ("SW x0, 0(x7)") *)
val _ = riscv_test_hex_print_asm "SW x0, 0(x7)" "0003A023";

(* I-format (opcode OP-IMM) *)
val _ = riscv_test_asms [
Expand Down

0 comments on commit ddd015c

Please sign in to comment.