strip rel16 since we're not going to encounter real mode in running processes on Linux or FreeBSD
This commit is contained in:
parent
f81b7f524e
commit
467331c693
1 changed files with 3 additions and 0 deletions
3
genc.py
3
genc.py
|
|
@ -40,6 +40,9 @@ class Instruction:
|
||||||
for ins in common.iter("ins"):
|
for ins in common.iter("ins"):
|
||||||
self.opcodes.append(OpCode(ins, operand_encodings))
|
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):
|
def parse_file(path):
|
||||||
tree = ET.parse(path)
|
tree = ET.parse(path)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue