Jump to content

Ackermann function: Difference between revisions

→‎{{header|Risc-V}}: update Risc-V -> RISC-V Assembly
(→‎{{header|Risc-V}}: update Risc-V -> RISC-V Assembly)
Line 8,243:
Ackermann(3, 4) = 125</pre>
 
=={{header|RiscRISC-V Assembly}}==
the basic recursive function, because memorization and other improvements would blow the clarity.
<syntaxhighlight lang="risc-v">ackermann: #x: a1, y: a2, return: a0
10

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.