encode: Support FD/TD encodings

This commit is contained in:
Alexis Engelke
2021-04-02 11:26:12 +02:00
parent fa52782e76
commit 4185d7b2d6
3 changed files with 54 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ class InstrDesc(NamedTuple):
for ot, op in zip(ots, self.operands):
if ot == "m":
tys.append(0xf)
elif ot in "io":
elif ot in "ioa":
tys.append(0)
elif op.kind == "GP":
if (self.mnemonic == "MOVSX" or self.mnemonic == "MOVZX" or