X86: Allow RIP relative decode on -all- memory forms of operands.
--HG-- extra : convert_revision : 8af62cda2ce1c4acfa26a028a4f7506647bc27f7
This commit is contained in:
parent
65db30992c
commit
74fcf117dd
1 changed files with 1 additions and 1 deletions
|
@ -149,8 +149,8 @@ let {{
|
||||||
elif opType.tag == "M":
|
elif opType.tag == "M":
|
||||||
# This refers to memory. The macroop constructor sets up modrm
|
# This refers to memory. The macroop constructor sets up modrm
|
||||||
# addressing. Non memory modrm settings should cause an error.
|
# addressing. Non memory modrm settings should cause an error.
|
||||||
Name += "_M"
|
|
||||||
env.doModRM = True
|
env.doModRM = True
|
||||||
|
return doRipRelativeDecode(Name, opTypes, env)
|
||||||
elif opType.tag == None or opType.size == None:
|
elif opType.tag == None or opType.size == None:
|
||||||
raise Exception, "Problem parsing operand tag: %s" % opType.tag
|
raise Exception, "Problem parsing operand tag: %s" % opType.tag
|
||||||
elif opType.tag in ("C", "D", "G", "P", "S", "T", "V"):
|
elif opType.tag in ("C", "D", "G", "P", "S", "T", "V"):
|
||||||
|
|
Loading…
Reference in a new issue