cvsuser 02/06/03 13:31:41
Modified: . assemble.pl
Log:
A few small fixes to the assembler documentation.
Courtesy of: Simon Glover <[EMAIL PROTECTED]>
Revision Changes Path
1.59 +5 -9 parrot/assemble.pl
Index: assemble.pl
===================================================================
RCS file: /home/perlcvs/parrot/assemble.pl,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -w -r1.58 -r1.59
--- assemble.pl 3 Jun 2002 04:20:14 -0000 1.58
+++ assemble.pl 3 Jun 2002 20:31:41 -0000 1.59
@@ -51,21 +51,17 @@
accept a simple array of instructions and generate bytecode directly from that.
This should eliminate the intermediary .pasm file and speed things up.
-=head2 NEWS
+=head2 Keyed access
-Keyed access. We now support the following (tested) code:
+ We now support the following (tested) code:
- new P0, 6 # Index of PerlHash. Clumsy, but necessary until the macro processor
- # layer is added.
+ new P0, .PerlHash # (See the discussion of macros above)
set S0, "one"
- set_keyed P0[S0],1
- get_keyed I0,P0[S0]
+ set P0[S0],1
+ set I0,P0[S0]
print I0
print "\n"
end
-
-Local labels. Not supported yet. The macro processor layer probably will do this
-for us, once it's added.
=cut