diff --git a/genc.py b/genc.py index f4e98b0..25f5d73 100644 --- a/genc.py +++ b/genc.py @@ -39,6 +39,9 @@ class Instruction: self.opcodes = [] for ins in common.iter("ins"): self.opcodes.append(OpCode(ins, operand_encodings)) + + # remove 16 bit real mode displacement value opcodes + self.opcodes = list(filter(lambda op: op.args != "rel16", self.opcodes)) def parse_file(path):