Use other ctor
@@ -189,7 +189,7 @@ namespace Iced.UnitTests.Intel.EncoderTests {
[InlineData("F0 0F20 C1", Code.Mov_r64_cr, "44 0F20 C1")]
[InlineData("F0 0F22 C1", Code.Mov_cr_r64, "44 0F22 C1")]
void Encode_MOV_CR8_in_64bit_mode_does_not_add_LOCK(string hexBytes, Code code, string encodedBytes) {
- var decoder = Decoder.Create64(new ByteArrayCodeReader(HexUtils.ToByteArray(hexBytes)));
+ var decoder = Decoder.Create64(new ByteArrayCodeReader(hexBytes));
decoder.Decode(out var instr);
Assert.Equal(code, instr.Code);
var writer = new CodeWriterImpl();
