r5619 jmb - /trunk/libcss/docs/Bytecode

netsurf at semichrome.net netsurf at semichrome.net
Wed Oct 22 01:07:04 BST 2008


Author: jmb
Date: Tue Oct 21 19:07:03 2008
New Revision: 5619

URL: http://source.netsurf-browser.org?rev=5619&view=rev
Log:
In hindsight, it's more likely that opcodes will be added than flags, so use 10 bits for the opcode and 8 for flags.

Modified:
    trunk/libcss/docs/Bytecode

Modified: trunk/libcss/docs/Bytecode
URL: http://source.netsurf-browser.org/trunk/libcss/docs/Bytecode?rev=5619&r1=5618&r2=5619&view=diff
==============================================================================
--- trunk/libcss/docs/Bytecode (original)
+++ trunk/libcss/docs/Bytecode Tue Oct 21 19:07:03 2008
@@ -8,11 +8,11 @@
 
 <opcode+flags+value> is 32 bits wide:
 	bits 18-13: value
-	bits 8-17 : flags
-	bits 0-7  : opcode
-
-The 10 bits of flag data are defined as follows:
-	bits 2-9: MBZ
+	bits 10-17 : flags
+	bits 0-9  : opcode
+
+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 @@
 				bits 0-6: 0000000 => auto,
 					  other   => rffe.
 
-54-ff - Reserved for future expansion.
-
+54-3ff - Reserved for future expansion.
+




More information about the netsurf-commits mailing list