summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-10-22 00:07:03 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-10-22 00:07:03 +0000
commit815265e0c9426d3b7934557d893815297bb8a9bf (patch)
tree5bae8dcc75eb038fb62f1d081613ae66de184fb1
parent9a6eff42fea3bc075615c196bf7b3ec44328faf4 (diff)
downloadlibcss-815265e0c9426d3b7934557d893815297bb8a9bf.tar.gz
libcss-815265e0c9426d3b7934557d893815297bb8a9bf.tar.bz2
In hindsight, it's more likely that opcodes will be added than flags, so use 10 bits for the opcode and 8 for flags.
svn path=/trunk/libcss/; revision=5619
-rw-r--r--docs/Bytecode10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/Bytecode b/docs/Bytecode
index 9471129..d999c48 100644
--- a/docs/Bytecode
+++ b/docs/Bytecode
@@ -8,11 +8,11 @@ Format
<opcode+flags+value> is 32 bits wide:
bits 18-13: value
- bits 8-17 : flags
- bits 0-7 : opcode
+ bits 10-17 : flags
+ bits 0-9 : opcode
-The 10 bits of flag data are defined as follows:
- bits 2-9: MBZ
+The 8 bits of flag data are defined as follows:
+ bits 2-7: MBZ
bit 1 : value is inherit
bit 0 : value is important
@@ -1062,5 +1062,5 @@ Opcodes
bits 0-6: 0000000 => auto,
other => rffe.
-54-ff - Reserved for future expansion.
+54-3ff - Reserved for future expansion.