aboutsummaryrefslogtreecommitdiff
path: root/include/bytecode
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-07-18 03:10:03 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commitec1a48e7b86fcd00127dd5a88d56c42083af1d78 (patch)
tree7e6423f20fa795bbba8cbc5ead8bc8a3f7289d2e /include/bytecode
parent84e65c63e7482590d535e86f7660a00ae8a0cecb (diff)
Setup structure for program execute
Diffstat (limited to 'include/bytecode')
-rw-r--r--include/bytecode/bytecode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/bytecode/bytecode.h b/include/bytecode/bytecode.h
index 739aa79..b571383 100644
--- a/include/bytecode/bytecode.h
+++ b/include/bytecode/bytecode.h
@@ -21,7 +21,10 @@
4.3 Opcode + index\
4.4 Opcode + offset
5. 4 bytes: Opcode + register + register + register
- 6. 4 bytes: Opcode + register + offset
+ 6. 4 bytes:\
+ 6.1 Opcode + register + offset\
+ 6.2 Opcode + register + intermediate\
+ 6.3 Opcode + register + data
*/
typedef enum {
AMAL_OP_NOP, /* No operation. This can be used for patching */