aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-26 06:24:59 +0000
committerDoug Evans <dje@google.com>1998-01-26 06:24:59 +0000
commitb5d20cf65dae0158ee637b38143651af2bae4e2a (patch)
tree1bf59575638afa3719dfc7fc0739d61bc13a1eea /include/opcode
parent629cfff05f382058f08ed770e6aa07386b9dd635 (diff)
downloadgdb-b5d20cf65dae0158ee637b38143651af2bae4e2a.zip
gdb-b5d20cf65dae0158ee637b38143651af2bae4e2a.tar.gz
gdb-b5d20cf65dae0158ee637b38143651af2bae4e2a.tar.bz2
checkpoint
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/txvu.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/opcode/txvu.h b/include/opcode/txvu.h
index 141282b..07ab723 100644
--- a/include/opcode/txvu.h
+++ b/include/opcode/txvu.h
@@ -226,3 +226,24 @@ const struct txvu_opcode *txvu_upper_opcode_lookup_asm PARAMS ((const char *));
const struct txvu_opcode *txvu_lower_opcode_lookup_asm PARAMS ((const char *));
const struct txvu_opcode *txvu_upper_opcode_lookup_dis PARAMS ((unsigned int));
const struct txvu_opcode *txvu_lower_opcode_lookup_dis PARAMS ((unsigned int));
+
+/* PKE support. */
+
+/* PKE instruction flags.
+ The usage here is a bit wasteful of bits, but there's enough bits
+ and we can always make better usage later. */
+
+/* 2 word instruction */
+#define PKE_OPCODE_LEN2 1
+/* 5 word instruction */
+#define PKE_OPCODE_LEN5 2
+/* variable length instruction */
+#define PKE_OPCODE_LENVAR 4
+/* the mpg instruction */
+#define PKE_OPCODE_MPG 8
+/* the direct instruction */
+#define PKE_OPCODE_DIRECT 16
+/* the directhl instruction */
+#define PKE_OPCODE_DIRECTHL 32
+/* the unpack instruction */
+#define PKE_OPCODE_UNPACK 64