mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-24 22:19:43 +00:00
Fixed xcore header to comply with bindings
and fixed whitespace
This commit is contained in:
parent
16a67a9c6d
commit
318607af63
@ -180,7 +180,7 @@ typedef enum sparc_reg {
|
||||
// This is associated with SPARC_OP_MEM operand type above
|
||||
typedef struct sparc_op_mem {
|
||||
uint8_t base; // base register, can be safely interpreted as
|
||||
// a value of type `sparc_reg`, but it is only
|
||||
// a value of type `sparc_reg`, but it is only
|
||||
// one byte wide
|
||||
uint8_t index; // index register, same conditions apply here
|
||||
int32_t disp; // displacement/offset value
|
||||
|
@ -91,7 +91,7 @@ typedef enum sysz_reg {
|
||||
// This is associated with SYSZ_OP_MEM operand type above
|
||||
typedef struct sysz_op_mem {
|
||||
uint8_t base; // base register, can be safely interpreted as
|
||||
// a value of type `sysz_reg`, but it is only
|
||||
// a value of type `sysz_reg`, but it is only
|
||||
// one byte wide
|
||||
uint8_t index; // index register, same conditions apply here
|
||||
uint64_t length; // BDLAddr operand
|
||||
|
@ -64,8 +64,10 @@ typedef enum xcore_reg {
|
||||
// Instruction's operand referring to memory
|
||||
// This is associated with XCORE_OP_MEM operand type above
|
||||
typedef struct xcore_op_mem {
|
||||
xcore_reg base; // base register
|
||||
xcore_reg index; // index register
|
||||
uint8_t base; // base register, can be safely interpreted as
|
||||
// a value of type `xcore_reg`, but it is only
|
||||
// one byte wide
|
||||
uint8_t index; // index register, same conditions apply here
|
||||
int32_t disp; // displacement/offset value
|
||||
int direct; // +1: forward, -1: backward
|
||||
} xcore_op_mem;
|
||||
|
Loading…
Reference in New Issue
Block a user