Skip to content

Commit 6481300

Browse files
committed
Fix inverted condition
1 parent 7c1a34b commit 6481300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Decoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4597,7 +4597,7 @@ static ZyanStatus ZydisPopulateRegisterIds(ZydisDecoderContext* context,
45974597

45984598
// Validate
45994599

4600-
if (instruction->apx.scc != ZYDIS_SCC_NONE)
4600+
if (instruction->apx.scc == ZYDIS_SCC_NONE)
46014601
{
46024602
// EEVEX SCC instructions re-use `vvvv` as the DFV value and `V4` as the MSB of the SCC
46034603
// code.

0 commit comments

Comments
 (0)