aboutsummaryrefslogtreecommitdiff
path: root/notes
diff options
context:
space:
mode:
Diffstat (limited to 'notes')
-rw-r--r--notes16
1 files changed, 15 insertions, 1 deletions
diff --git a/notes b/notes
index 99dcba4..b45aec3 100644
--- a/notes
+++ b/notes
@@ -168,7 +168,21 @@ Small set in between
=== Extension Area ===
* Length in bytes (including header)
- bit 63-60: 0 0 1 1
+ bit 63-60: 0 1 0 0
bit 59: reserved for GC
* data
[ <reference> ]*
+
+=== Function ===
+* Length in bytes (including header)
+ bit 63-60: 0 1 0 1
+ bit 59: reserved for GC
+* scope pointer
+* type pointer (0 if untyped)
+* code pointer
+
+=== Function Code ===
+* Length in bytes (including header)
+ bit 63-60: 0 1 1 0
+ bit 59: reserved for GC
+* [ <opcode> ]*