Deleted Added
sdiff udiff text old ( 5232:d3801ea2792e ) new ( 5359:8c6ff200e4c1 )
full compact
1// Copyright (c) 2007 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// Redistribution and use of this software in source and binary forms,
5// with or without modification, are permitted provided that the
6// following conditions are met:
7//
8// The software must be used only for Non-Commercial Use which means any
9// use which is NOT directed to receiving any direct monetary
10// compensation for, or commercial advantage from such use. Illustrative
11// examples of non-commercial use are academic research, personal study,

--- 430 unchanged lines hidden (view full) ---

442 super(LeaOp, self).__init__(data, segment,
443 addr, disp, dataSize, addressSize)
444 self.className = "Lea"
445 self.mnemonic = "lea"
446
447 microopClasses["lea"] = LeaOp
448
449
450 iop = InstObjParams("cda", "Cda", 'X86ISA::LdStOp',
451 {"code": '''
452 Addr paddr;
453 fault = xc->translateDataWriteAddr(EA, paddr,
454 dataSize, (1 << segment));
455 ''',
456 "ea_code": calculateEA})
457 header_output += MicroLeaDeclare.subst(iop)

--- 14 unchanged lines hidden ---