Make store microops actually store instead of load.
--HG-- extra : convert_revision : fe90f8adc96dd0e680cfa45e4c510a906046ae3d
This commit is contained in:
parent
e209fce9de
commit
05a33a443f
|
@ -404,13 +404,13 @@ let {{
|
|||
|
||||
class StoreOp(LdStOp):
|
||||
def __init__(self, data, segment, addr, disp = 0):
|
||||
super(LoadOp, self).__init__(data, segment, addr, disp)
|
||||
super(StoreOp, self).__init__(data, segment, addr, disp)
|
||||
self.className = Name
|
||||
self.mnemonic = name
|
||||
|
||||
microopClasses[name] = StoreOp
|
||||
|
||||
defineMicroLoadOp('St', 'Mem = Data;')
|
||||
defineMicroStoreOp('St', 'Mem = Data;')
|
||||
|
||||
iop = InstObjParams("lea", "Lea", 'X86ISA::LdStOp',
|
||||
{"code": "Data = merge(Data, EA, dataSize);", "ea_code": calculateEA})
|
||||
|
|
Loading…
Reference in a new issue