Update C# assert

This commit is contained in:
wtfsck 2021-10-01 22:18:35 +02:00
parent c0a49a9da5
commit 833ee8be6c
1 changed files with 2 additions and 1 deletions

View File

@ -183,7 +183,8 @@ namespace Iced.Intel.DecoderInternal {
Debug.Assert(
decoder.state.Encoding == EncodingKind.VEX ||
decoder.state.Encoding == EncodingKind.EVEX ||
decoder.state.Encoding == EncodingKind.XOP);
decoder.state.Encoding == EncodingKind.XOP ||
decoder.state.Encoding == EncodingKind.MVEX);
((decoder.state.flags & StateFlags.W) != 0 ? handlerW1 : handlerW0).Decode(decoder, ref instruction);
}
}