34#ifndef __ARCH_SPARC_INSTS_TRAP_HH__
35#define __ARCH_SPARC_INSTS_TRAP_HH__
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)
Base class for trap instructions, or instructions that always fault.
Trap(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
const char * mnemonic
Base mnemonic (e.g., "add").
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
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.