From 2796e6dabeed57d31069a6c56683cf3e66ab88b3 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 5 May 2024 23:40:51 +0100 Subject: Fix miscategorised jmp instruction Woops! Thanks Uncrafted for reporting this. --- src/x86.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/x86.h b/src/x86.h index 197d4c3..a62c0ee 100644 --- a/src/x86.h +++ b/src/x86.h @@ -1,5 +1,5 @@ /* - * Copyright © 2023 Michael Smith + * Copyright © 2024 Michael Smith * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -124,7 +124,6 @@ X(X86_INT3, 0xCC) \ X(X86_INTO, 0xCE) \ X(X86_XLAT, 0xD7) \ - X(X86_JMPI8, 0xEB) \ X(X86_CMC, 0xF5) \ X(X86_CLC, 0xF8) \ X(X86_STC, 0xF9) \ @@ -177,7 +176,8 @@ X(X86_LOOPNZ, 0xE0) /* AKA LOOPNE */ \ X(X86_LOOPZ, 0xE1) /* AKA LOOPE */ \ X(X86_LOOP, 0xE2) \ - X(X86_JCXZ, 0xE3) + X(X86_JCXZ, 0xE3) \ + X(X86_JMPI8, 0xEB) /* Single-byte opcodes with a word-sized immediate operand */ #define X86_OPS_1BYTE_IW(X) \ -- cgit v1.2.3