decode-test: Add two more MOVSX cases

This commit is contained in:
Alexis Engelke
2022-11-01 20:49:21 +01:00
parent 0c20aa4f19
commit c15600a1d1

View File

@@ -338,6 +338,8 @@ main(int argc, char** argv)
TEST("\x66\x0f\xbe\xc2", "movsx ax, dl");
TEST("\x0f\xbe\xc2", "movsx eax, dl");
TEST("\x0f\xbe\xc4", "movsx eax, ah");
TEST64("\x40\x0f\xbe\xc4", "movsx eax, spl");
TEST("\x0f\xbf\xc2", "movsx eax, dx");
TEST64("\x48\x0f\xbf\xc2", "movsx rax, dx");
TEST64("\x48\x63\xc2", "movsx rax, edx");