Add a return_reg instruction to the base instruction set.

Register-style return is used by all RISC architectures, so it is
natural to have a shared instruction representation.
This commit is contained in:
Jakob Stoklund Olesen
2017-02-21 13:05:17 -08:00
parent 74eb13c17a
commit 20ff2f0025
6 changed files with 75 additions and 4 deletions

View File

@@ -384,6 +384,7 @@ preamble`:
.. autoinst:: call
.. autoinst:: x_return
.. autoinst:: return_reg
This simple example illustrates direct function calls and signatures::