Go to the documentation of this file.
12 return "No address mode";
14 return "implied addressing (no addressing mode)";
16 return "accumulator addressing";
18 return "absolute addressing";
20 return "zeropage addressing";
22 return "8 Bit immediate value";
24 return "indexed absolute addressing by the X index register";
26 return "indexed absolute addressing by the Y index register";
28 return "indexed indirect addressing by the X index register";
30 return "indirect indexed addressing by the Y index register";
32 return "indexed zeropage addressing by the X index register";
34 return "indexed zeropage addressing by the Y index register";
36 return "relative addressing used by branches";
38 return "absolute indirect addressing";
49 result = (
char *)malloc(
sizeof(
char));
52 if (ins->detail == NULL)
55 mos65xx = &(ins->detail->mos65xx);
64 switch((
int)
op->type) {
@ MOS65XX_AM_IMM
8 Bit immediate value
@ MOS65XX_AM_ABS
absolute addressing
@ MOS65XX_AM_INDX
indexed indirect addressing by the X index register
static const char * get_am_name(mos65xx_address_mode mode)
@ MOS65XX_AM_ZPX
indexed zeropage addressing by the X index register
@ MOS65XX_AM_IMP
implied addressing (no addressing mode)
@ MOS65XX_AM_ABSX
indexed absolute addressing by the X index register
@ MOS65XX_AM_REL
relative addressing used by branches
@ MOS65XX_AM_ZPY
indexed zeropage addressing by the Y index register
@ MOS65XX_OP_REG
= CS_OP_REG (Register operand).
@ MOS65XX_AM_NONE
No address mode.
const CAPSTONE_EXPORT char *CAPSTONE_API cs_reg_name(csh ud, unsigned int reg)
@ MOS65XX_AM_ZP
zeropage addressing
void add_str(char **src, const char *format,...)
@ MOS65XX_OP_MEM
= CS_OP_MEM (Memory operand).
cs_mos65xx_op operands[3]
operands for this instruction.
mos65xx_address_mode
MOS65XX Addressing Modes.
The MOS65XX address mode and it's operands.
char * get_detail_mos65xx(csh *handle, cs_mode mode, cs_insn *ins)
@ MOS65XX_AM_IND
absolute indirect addressing
@ MOS65XX_OP_IMM
= CS_OP_IMM (Immediate operand).
@ MOS65XX_AM_INDY
indirect indexed addressing by the Y index register
@ MOS65XX_AM_ACC
accumulator addressing
@ MOS65XX_AM_ABSY
indexed absolute addressing by the Y index register
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:30