summaryrefslogtreecommitdiff
path: root/inc/definitions.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-29 02:36:38 -0400
committerbd <bdunahu@operationnull.com>2025-03-29 02:36:38 -0400
commitb29311f0140c615c005f5d076adc921d98842ec6 (patch)
treef6e91cb8645d4c8883355c5a761648e1f49631de /inc/definitions.h
parent579538d8c3240dcec1fd007a67b5ae4aaa832d3b (diff)
get_instr_fields return mnemonic rather than opcode and type
Diffstat (limited to 'inc/definitions.h')
-rw-r--r--inc/definitions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/definitions.h b/inc/definitions.h
index c9367ff..3238a8b 100644
--- a/inc/definitions.h
+++ b/inc/definitions.h
@@ -52,6 +52,11 @@
#define GPR_NUM 16
/**
+ * The number of vector registers
+ */
+#define V_NUM 8
+
+/**
* The number of bits to specify an instruction type
*/
#define TYPE_SIZE 2