40 class Nop :
public SparcStaticInst
44 Nop(
const char *mnem, ExtMachInst _machInst, OpClass __opClass) :
45 SparcStaticInst(mnem, _machInst, __opClass)
51 execute(ExecContext *xc, trace::InstRecord *traceData)
const
56 std::string generateDisassembly(Addr pc,
57 const loader::SymbolTable *symtab)
const override;
63 Nop::generateDisassembly(
64 Addr pc,
const loader::SymbolTable *symtab)
const
66 std::stringstream response;
67 printMnemonic(response, mnemonic);
68 return response.str();
73 Fault %(class_name)s::execute(ExecContext *xc,
74 trace::InstRecord *traceData)
const
82def format
Nop(code, *opt_flags) {{
83 iop = InstObjParams(
name, Name,
'Nop', code, opt_flags)
84 header_output = BasicDeclare.subst(iop)
85 decoder_output = BasicConstructor.subst(iop)
86 decode_block = BasicDecode.subst(iop)
def format Nop(code, *opt_flags)
const std::string & name()