Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update pdd32_m0.pod
  • Loading branch information
Jimmy Zhuo committed Apr 4, 2012
1 parent 89f7266 commit eb822b6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/pdds/draft/pdd32_m0.pod
Expand Up @@ -352,11 +352,29 @@ Set C<*$1> to whatever is in C<*$2>. C<$3> is ignored.


Set C<*$1> to C<$2> * 256 + C<$3>. Set C<*$1> to C<$2> * 256 + C<$3>.


=item * deref - dereference a register =item * deref_i - dereference a integer register


Treat C<*$2> as an array and C<*$3> as an index into that array. Set C<*$1> to Treat C<*$2> as an array and C<*$3> as an index into that array. Set C<*$1> to
whatever's at C<*$2[ *$3 ]>. whatever's at C<*$2[ *$3 ]>.


=item * deref_n - dereference a numeric register

Treat C<*$2> as an array and C<*$3> as an index into that array. Set C<*$1> to
whatever's at C<*$2[ *$3 ]>.

=item * deref_s - dereference a string register

Treat C<*$2> as an array and C<*$3> as an index into that array. Set C<*$1> to
whatever's at C<*$2[ *$3 ]>.

=item * deref_p - dereference a pointer register

Treat C<*$2> as an array and C<*$3> as an index into that array. Set C<*$1> to
whatever's at C<*$2[ *$3 ]>.
{{{
NOTE: not sure whether this op is useful or not.
}}}

=item * set_ref - change the value of a referenced register =item * set_ref - change the value of a referenced register


Treat C<*$1> as an array and C<*$2> as an offset into that array. Set Treat C<*$1> as an array and C<*$2> as an offset into that array. Set
Expand Down

0 comments on commit eb822b6

Please sign in to comment.