mem.hh (7303:6b70985664c8) | mem.hh (7312:03016344f54e) |
---|---|
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 --- 73 unchanged lines hidden (view full) --- 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 | 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 --- 73 unchanged lines hidden (view full) --- 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 |
90// The address is a base register plus an immediate. 91class SrsOp : public PredOp 92{ 93 public: 94 enum AddrMode { 95 DecrementAfter, 96 DecrementBefore, 97 IncrementAfter, 98 IncrementBefore 99 }; 100 protected: 101 uint32_t regMode; 102 AddrMode mode; 103 bool wb; 104 105 SrsOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass, 106 uint32_t _regMode, AddrMode _mode, bool _wb) 107 : PredOp(mnem, _machInst, __opClass), 108 regMode(_regMode), mode(_mode), wb(_wb) 109 {} 110 111 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; 112}; 113 |
|
90class Memory : public PredOp 91{ 92 public: 93 enum AddrMode { 94 AddrMd_Offset, 95 AddrMd_PreIndex, 96 AddrMd_PostIndex 97 }; --- 340 unchanged lines hidden --- | 114class Memory : public PredOp 115{ 116 public: 117 enum AddrMode { 118 AddrMd_Offset, 119 AddrMd_PreIndex, 120 AddrMd_PostIndex 121 }; --- 340 unchanged lines hidden --- |