Commit 60ce60df authored by Victor Hognon's avatar Victor Hognon
Browse files

tc_7: add a description of syscall in FAQ

* source/compiler_stages/tc_7/faq.rst
parent 821142c9
Pipeline #28138 passed with stage
in 1 minute and 2 seconds
......@@ -3,6 +3,47 @@
TC-7 FAQ
--------
.. Nolimips
Nolimips :code:`Precondition 'has_unlimited(reg.get_index())' failed`
This lovely error message is the sign you're using an obsolete version
of Nolimips. Update.
What are the syscall numbers in order to use Nolimips?
.. list-table:: Nolimips syscall numbers
:widths: 25 25 25 25 25 25
:header-rows: 1
* - Services
- Syscall numbers (in $v0)
- a0
- a1
- a2
- result
* - read
- 0x02
- fd
- buf
- count
- v0
* - write
- 0x03
- fd
- buf
- count
- v0
* - exit
- 0x06
- status
-
-
-
* - malloc
- 0x33
- size
-
-
-
*Note* : that the syscall `free` is not implemented yet in `Nolimips`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment