Skip to content

Commit

Permalink
Exercise be and le instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Apr 30, 2024
1 parent f21dbb6 commit 1fa6db6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/exercise_instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,13 @@ fn fuzz_alu() {
test_ins(true, format!("neg64 r{src}"), &mut prng, 21);
test_ins(true, format!("neg32 r{src}"), &mut prng, 21);

test_ins(true, format!("le16 r{src}"), &mut prng, 21);
test_ins(true, format!("le32 r{src}"), &mut prng, 21);
test_ins(true, format!("le64 r{src}"), &mut prng, 21);
test_ins(true, format!("be16 r{src}"), &mut prng, 21);
test_ins(true, format!("be32 r{src}"), &mut prng, 21);
test_ins(true, format!("be64 r{src}"), &mut prng, 21);

test_ins(true, format!("mul64 r{src}, {imm}"), &mut prng, 21);
test_ins(true, format!("mod64 r{src}, {imm}"), &mut prng, 21);
test_ins(true, format!("div64 r{src}, {imm}"), &mut prng, 21);
Expand Down

0 comments on commit 1fa6db6

Please sign in to comment.