From c15600a1d1d355efd8e367e0edee8f5c8fa44403 Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Tue, 1 Nov 2022 20:49:21 +0100 Subject: [PATCH] decode-test: Add two more MOVSX cases --- decode-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/decode-test.c b/decode-test.c index b11312e..df576bf 100644 --- a/decode-test.c +++ b/decode-test.c @@ -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");