Make store microops actually store instead of load.

--HG--
extra : convert_revision : fe90f8adc96dd0e680cfa45e4c510a906046ae3d
This commit is contained in:
Gabe Black 2007-07-18 17:45:06 -07:00
parent e209fce9de
commit 05a33a443f

View file

@ -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})