aboutsummaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-10-19 23:45:51 -0700
committeriximeow <me@iximeow.net>2020-01-12 16:10:13 -0800
commitaa212543df3c3b3ef432def8248fd01f4f59dbf6 (patch)
tree425b809924479a97e0eb59cbcbf9560470b0f8bc /test/test.rs
parentb1cdfaf106dcebb96bf704ef2f9a084744b3ec6b (diff)
update lar tests
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.rs b/test/test.rs
index b1520bc..f28f551 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -195,8 +195,8 @@ fn vex() {
#[test]
fn prefixed_0f() {
- test_display(&[0x0f, 0x02, 0xc0], "lar eax, eax");
- test_display(&[0x48, 0x0f, 0x02, 0xc0], "lar rax, eax");
+ test_display(&[0x0f, 0x02, 0xc0], "lar eax, ax");
+ test_display(&[0x48, 0x0f, 0x02, 0xc0], "lar rax, ax");
test_display(&[0x0f, 0x03, 0xc0], "lsl eax, eax");
test_display(&[0x48, 0x0f, 0x03, 0xc0], "lsl rax, rax");
test_display(&[0x0f, 0x05], "syscall");