[svn:parrot] r36353 - trunk/docs/book

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed Feb 4 14:28:41 UTC 2009


Author: whiteknight
Date: Wed Feb  4 14:28:40 2009
New Revision: 36353
URL: https://trac.parrot.org/parrot/changeset/36353

Log:
[Book] a little bit more about opcode parameters

Modified:
   trunk/docs/book/ch12_opcodes.pod

Modified: trunk/docs/book/ch12_opcodes.pod
==============================================================================
--- trunk/docs/book/ch12_opcodes.pod	Wed Feb  4 14:14:23 2009	(r36352)
+++ trunk/docs/book/ch12_opcodes.pod	Wed Feb  4 14:28:40 2009	(r36353)
@@ -335,6 +335,41 @@
 is just an example, and the exact mechanisms may change as more opcodes
 are added or old ones are deleted.
 
+Parameters can be one of the following types:
+
+=over 4
+
+=item * INT
+
+=item * NUM
+
+=item * STR
+
+=item * PMC
+
+=item * KEY
+
+=item * INTKEY
+
+=item * LABEL
+
+=back
+
+In addition to these types, you need to specify the direction that data is
+moving through that parameter:
+
+=over 4
+
+=item * in
+
+=item * out
+
+=item * inout
+
+=item * invar
+
+=back
+
 =head3 Opcode Control Flow
 
 Some opcodes have the ability to alter control flow of the program they


More information about the parrot-commits mailing list