summaryrefslogtreecommitdiff
path: root/v5/apf.h
diff options
context:
space:
mode:
Diffstat (limited to 'v5/apf.h')
-rw-r--r--v5/apf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v5/apf.h b/v5/apf.h
index a75ab1b..b0b34af 100644
--- a/v5/apf.h
+++ b/v5/apf.h
@@ -186,6 +186,10 @@
// Copy the data from APF data region to output buffer. The source offset is encoded as [Rx + second imm].
// The copy length is encoded in the third imm. "e.g. EDATACOPY [R0 + 5], 5"
#define EDATACOPY 42
+// It is executed as a jump, it tells how many bytes of the program regions
+// are used to store the data and followed by the actual data bytes.
+// "e.g. data 5, abcde"
+#define DATA_EXT_OPCODE 43
#define EXTRACT_OPCODE(i) (((i) >> 3) & 31)
#define EXTRACT_REGISTER(i) ((i) & 1)