cvsuser 01/10/12 13:34:18
Modified: docs parrot_assembly.pod
Log:
Added docs for the new save/restore/bsr opcodes
Revision Changes Path
1.6 +56 -3 parrot/docs/parrot_assembly.pod
Index: parrot_assembly.pod
===================================================================
RCS file: /home/perlcvs/parrot/docs/parrot_assembly.pod,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -r1.5 -r1.6
--- parrot_assembly.pod 2001/10/11 21:09:12 1.5
+++ parrot_assembly.pod 2001/10/12 20:34:18 1.6
@@ -9,9 +9,9 @@
Maintainer: Dan Sugalski
Class: Internals
PDD Number: 6
- Version: 1.4
+ Version: 1.5
Status: Developing
- Last Modified: 24 September 2001
+ Last Modified: 12 October 2001
PDD Format: 1
Language:English
@@ -19,6 +19,10 @@
=over 4
+=item Version 1.5
+
+October 12, 2001
+
=item Version 1.4
September 24, 2001
@@ -45,6 +49,18 @@
=over 4
+=item Version 1.5
+
+=over 4
+
+=item * Now have a bsr in addition to a jsr
+
+=item * return is now ret
+
+=item * Added save and restore ops for saving and restoring individual registers
+
+=back
+
=item Version 1.4
=over 4
@@ -205,9 +221,14 @@
Jump to the location specified by register X. Push the current
location onto the call stack for later returning.
+
+=item bsr ix
-=item return
+Branch to the location specified by X (either register or label). Push
+the current location onto the call stack for later returning.
+=item ret
+
Pop the location off the top of the stack and go there.
=back
@@ -414,6 +435,38 @@
=item pop_n
The same as L<pop_p>, for the floating-point register set.
+
+=item save_i Ix
+
+Push register X onto the generic stack
+
+=item save_s Sx
+
+Push register X onto the generic stack
+
+=item save_p Px
+
+Push register X onto the generic stack
+
+=item save_n Nx
+
+Push register X onto the generic stack
+
+=item restore_i Ix
+
+Restore register X from the generic stack
+
+=item restore_s Ix
+
+Restore register X from the generic stack
+
+=item restore_p Px
+
+Restore register X from the generic stack
+
+=item restore_n Nx
+
+Restore register X from the generic stack
=item set_warp string