URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 107 |
Rev 116 |
Line 21... |
Line 21... |
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
* with this program. If not, see .
|
* with this program. If not, see .
|
*/
|
*/
|
|
|
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
* Coding conventions
|
* Coding conventions are described in inst-set-test.S
|
*
|
|
* A simple rising stack is provided starting at _stack and pointed to by
|
|
* r1. r1 points to the next free word. Only 32-bit registers may be pushed
|
|
* onto the stack.
|
|
*
|
|
* Local labels up to 49 are reserved for macros. Each is used only once in
|
|
* all macros. You can get in a serious mess if you get local label clashing
|
|
* in macros.
|
|
*
|
|
* Arguments to functions are passed in r3 through r8.
|
|
* r9 is the link (return address)
|
|
* r11 is for returning results
|
|
*
|
|
* Only r1 and r2 are preserved across function calls. It is up to the callee
|
|
* to save any other registers required.
|
|
* ------------------------------------------------------------------------- */
|
* ------------------------------------------------------------------------- */
|
|
|
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
* Test coverage
|
* Test coverage
|
*
|
*
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.