29#ifndef __ARCH_SPARC_INSTS_MEM_HH__
30#define __ARCH_SPARC_INSTS_MEM_HH__
66 Mem(mnem, _machInst, __opClass),
imm(
szext<13>(_machInst))
Class for memory operations which use an immediate offset.
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
MemImm(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for memory operations.
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Base class for all SPARC static instructions.
SparcStaticInst(const char *_mnemonic, ExtMachInst _machInst, OpClass __opClass)
constexpr uint64_t szext(uint64_t val)
Sign-extend an N-bit value to 64 bits.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.