diff options
author | iximeow <me@iximeow.net> | 2021-03-21 17:40:39 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-03-21 17:40:39 -0700 |
commit | 3ee3f55f9a5239664ff9fb0d4b73926c4d76ac26 (patch) | |
tree | a4c203b06a6587e2612a6a53f40eb00add9c8988 /test/long_mode/display.rs | |
parent | fcd9fc30d2fa41b2267a6539e5806735bae8931d (diff) |
include memory sizes on inc/dec in C format
Diffstat (limited to 'test/long_mode/display.rs')
-rw-r--r-- | test/long_mode/display.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/long_mode/display.rs b/test/long_mode/display.rs index 2d1a540..4ef3f74 100644 --- a/test/long_mode/display.rs +++ b/test/long_mode/display.rs @@ -178,8 +178,8 @@ fn test_instructions_c() { test_display(&[0x66, 0x0f, 0x38, 0xf6, 0x01], "eax += [rcx] + rflags.cf"); test_display(&[0xf3, 0x4f, 0x0f, 0x38, 0xf6, 0x01], "r8 += [r9] + rflags.of"); - test_display(&[0xfe, 0x00], "[rax]++"); // TODO: byte - test_display(&[0xfe, 0x08], "[rax]--"); // TODO: byte - test_display(&[0xff, 0x00], "[rax]++"); // TODO: dword - test_display(&[0x48, 0xff, 0x00], "[rax]++"); // TODO: qword + test_display(&[0xfe, 0x00], "byte [rax]++"); + test_display(&[0x66, 0xff, 0x08], "word [rax]--"); + test_display(&[0xff, 0x00], "dword [rax]++"); + test_display(&[0x48, 0xff, 0x00], "qword [rax]++"); } |