mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-23 07:28:04 +08:00
removed a space to make markdown happy
This commit is contained in:
parent
0a6630b706
commit
21eca36d8c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ Up to 8 parameters can be passed directly via registers. Each parameter can be u
|
||||||
|
|
||||||
For the purposes of the present discussion, we assume all parameters are `long int` and are therefore stored in `x` registers.
|
For the purposes of the present discussion, we assume all parameters are `long int` and are therefore stored in `x` registers.
|
||||||
|
|
||||||
Up to 8 parameters are passed in the scratch registers (of which there are 8). These are `x0` through `x7`. *Scratch* means the value of the register can be changed at will without any need to backup or restore their values.
|
Up to 8 parameters are passed in the scratch registers (of which there are 8). These are `x0` through `x7`. *Scratch* means the value of the register can be changed at will without any need to backup or restore their values.
|
||||||
|
|
||||||
**This also means that you cannot count on the contents of the scratch registers maintaining their value if your function makes any function calls itself.**
|
**This also means that you cannot count on the contents of the scratch registers maintaining their value if your function makes any function calls itself.**
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue