Go to the documentation of this file.
272 "invalid",
"A",
"X",
"Y",
"P",
"SP"
275 #ifndef CAPSTONE_DIET
381 #ifndef CAPSTONE_DIET
391 detail->regs_read_count = 0;
392 detail->regs_write_count = 0;
393 detail->mos65xx.op_count = 0;
427 detail->mos65xx.op_count++;
432 detail->mos65xx.op_count++;
437 detail->mos65xx.op_count++;
445 #ifndef CAPSTONE_DIET
529 if (code_len <
len) {
546 #ifndef CAPSTONE_DIET
static const struct InstructionInfo InstructionInfoTable[]
bool MOS65XX_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *MI, uint16_t *size, uint64_t address, void *inst_info)
static const char * GroupNames[]
@ MOS65XX_AM_IMM
8 Bit immediate value
const char * MOS65XX_insn_name(csh handle, unsigned int id)
@ MOS65XX_AM_ABS
absolute addressing
static void fillDetails(MCInst *MI, unsigned char opcode)
@ MOS65XX_AM_INDX
indexed indirect addressing by the X index register
@ MOS65XX_AM_ZPX
indexed zeropage addressing by the X index register
mos65xx_group_type
Group of MOS65XX instructions.
@ MOS65XX_AM_IMP
implied addressing (no addressing mode)
@ MOS65XX_AM_ABSX
indexed absolute addressing by the X index register
void MOS65XX_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
@ MOS65XX_GRP_JUMP
= CS_GRP_JUMP
@ MOS65XX_GRP_IRET
= CS_GRP_IRET
const char * MOS65XX_reg_name(csh handle, unsigned int reg)
@ MOS65XX_AM_REL
relative addressing used by branches
void MCOperand_CreateImm0(MCInst *mcInst, int64_t Val)
@ MOS65XX_REG_X
X index register.
@ MOS65XX_GRP_BRANCH_RELATIVE
= CS_GRP_BRANCH_RELATIVE
struct InstructionInfo InstructionInfo
@ MOS65XX_AM_ZPY
indexed zeropage addressing by the Y index register
@ MOS65XX_GRP_INVALID
CS_GRP_INVALID.
@ MOS65XX_OP_REG
= CS_OP_REG (Register operand).
@ MOS65XX_AM_NONE
No address mode.
static int getInstructionLength(mos65xx_address_mode am)
unsigned __int64 uint64_t
void SStream_concat0(SStream *ss, const char *s)
@ MOS65XX_AM_ZP
zeropage addressing
mos65xx_group_type group_type
static const char * RegNames[]
@ MOS65XX_GRP_CALL
= CS_GRP_RET
@ MOS65XX_OP_MEM
= CS_OP_MEM (Memory operand).
void MOS65XX_printInst(MCInst *MI, struct SStream *O, void *PrinterInfo)
mos65xx_address_mode
MOS65XX Addressing Modes.
@ MOS65XX_REG_SP
stack pointer register
int read(izstream &zs, T *x, Items items)
@ MOS65XX_AM_IND
absolute indirect addressing
static const struct OpInfo OpInfoTable[]
@ MOS65XX_REG_Y
Y index register.
mos65xx_insn
MOS65XX instruction.
@ MOS65XX_REG_P
status register
void SStream_concat(SStream *ss, const char *fmt,...)
@ MOS65XX_OP_IMM
= CS_OP_IMM (Immediate operand).
@ MOS65XX_REG_ACC
accumulator
const char * MOS65XX_group_name(csh handle, unsigned int id)
@ MOS65XX_GRP_RET
= CS_GRP_RET
@ MOS65XX_AM_INDY
indirect indexed addressing by the Y index register
mos65xx_reg
MOS65XX registers and special registers.
@ MOS65XX_AM_ACC
accumulator addressing
@ MOS65XX_AM_ABSY
indexed absolute addressing by the Y index register
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:41