aboutsummaryrefslogtreecommitdiff
path: root/opcodes/csky-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/csky-opc.h')
-rw-r--r--opcodes/csky-opc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/csky-opc.h b/opcodes/csky-opc.h
index 95df44d..0a0b138 100644
--- a/opcodes/csky-opc.h
+++ b/opcodes/csky-opc.h
@@ -22,7 +22,7 @@
#include "opcode/csky.h"
#define OP_TABLE_NUM 2
-#define MAX_OPRND_NUM 4
+#define MAX_OPRND_NUM 5
enum operand_type
{
@@ -222,7 +222,7 @@ struct soperand
union csky_operand
{
- struct operand oprnds[5];
+ struct operand oprnds[MAX_OPRND_NUM];
struct suboperand1
{
struct operand oprnd;