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
|
|
@ -39,6 +39,9 @@ class Instruction:
|
||||||
self.opcodes = []
|
self.opcodes = []
|
||||||
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):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue