Public Attributes | List of all members
cs_arm_op Struct Reference

Instruction operand. More...

#include <arm.h>

Public Attributes

union {
   double   fp
 floating point value for FP operand More...
 
   int32_t   imm
 immediate value for C-IMM, P-IMM or IMM operand More...
 
   arm_op_mem   mem
 base/index/scale/disp value for MEM operand More...
 
   int   reg
 register value for REG/SYSREG operand More...
 
   arm_setend_type   setend
 SETEND instruction's operand type. More...
 
}; 
 
uint8_t access
 
int8_t neon_lane
 Neon lane index for NEON instructions (or -1 if irrelevant) More...
 
struct {
   arm_shifter   type
 
   unsigned int   value
 
shift
 
bool subtracted
 
arm_op_type type
 operand type More...
 
int vector_index
 Vector Index for some vector operands (or -1 if irrelevant) More...
 

Detailed Description

Instruction operand.

Definition at line 391 of file arm.h.

Member Data Documentation

◆ @146

union { ... }

◆ access

uint8_t cs_arm_op::access

How is this operand accessed? (READ, WRITE or READ|WRITE) This field is combined of cs_ac_type. NOTE: this field is irrelevant if engine is compiled in DIET mode.

Definition at line 417 of file arm.h.

◆ fp

double cs_arm_op::fp

floating point value for FP operand

Definition at line 404 of file arm.h.

◆ imm

int32_t cs_arm_op::imm

immediate value for C-IMM, P-IMM or IMM operand

Definition at line 403 of file arm.h.

◆ mem

arm_op_mem cs_arm_op::mem

base/index/scale/disp value for MEM operand

Definition at line 405 of file arm.h.

◆ neon_lane

int8_t cs_arm_op::neon_lane

Neon lane index for NEON instructions (or -1 if irrelevant)

Definition at line 420 of file arm.h.

◆ reg

int cs_arm_op::reg

register value for REG/SYSREG operand

Definition at line 402 of file arm.h.

◆ setend

arm_setend_type cs_arm_op::setend

SETEND instruction's operand type.

Definition at line 406 of file arm.h.

◆ shift

struct { ... } cs_arm_op::shift

◆ subtracted

bool cs_arm_op::subtracted

in some instructions, an operand can be subtracted or added to the base register, if TRUE, this operand is subtracted. otherwise, it is added.

Definition at line 412 of file arm.h.

◆ type [1/2]

arm_shifter cs_arm_op::type

Definition at line 395 of file arm.h.

◆ type [2/2]

arm_op_type cs_arm_op::type

operand type

Definition at line 399 of file arm.h.

◆ value

unsigned int cs_arm_op::value

Definition at line 396 of file arm.h.

◆ vector_index

int cs_arm_op::vector_index

Vector Index for some vector operands (or -1 if irrelevant)

Definition at line 392 of file arm.h.


The documentation for this struct was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:42