mem.hh (7279:157b02cc0ba1) | mem.hh (7291:2d21be52e57f) |
---|---|
1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 49 unchanged lines hidden (view full) --- 58 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _base) 59 : PredOp(mnem, _machInst, __opClass), 60 dest(_dest), op1(_op1), base(_base) 61 {} 62 63 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; 64}; 65 | 1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 49 unchanged lines hidden (view full) --- 58 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _base) 59 : PredOp(mnem, _machInst, __opClass), 60 dest(_dest), op1(_op1), base(_base) 61 {} 62 63 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; 64}; 65 |
66// The address is a base register plus an immediate. 67class RfeOp : public PredOp 68{ 69 public: 70 enum AddrMode { 71 DecrementAfter, 72 DecrementBefore, 73 IncrementAfter, 74 IncrementBefore 75 }; 76 protected: 77 IntRegIndex base; 78 AddrMode mode; 79 bool wb; 80 81 RfeOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass, 82 IntRegIndex _base, AddrMode _mode, bool _wb) 83 : PredOp(mnem, _machInst, __opClass), 84 base(_base), mode(_mode), wb(_wb) 85 {} 86 87 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; 88}; 89 |
|
66class Memory : public PredOp 67{ 68 public: 69 enum AddrMode { 70 AddrMd_Offset, 71 AddrMd_PreIndex, 72 AddrMd_PostIndex 73 }; --- 274 unchanged lines hidden --- | 90class Memory : public PredOp 91{ 92 public: 93 enum AddrMode { 94 AddrMd_Offset, 95 AddrMd_PreIndex, 96 AddrMd_PostIndex 97 }; --- 274 unchanged lines hidden --- |