CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 13:40:36 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=be4e1507fcbabf9e15dbdfb43de034a220f7378780e5b4223ec315717515e0e8a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22pnoeHnB9b1rk_w3LtpraW-tPKul66PTA%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cec5303e5fa9b7-BLR
fib: addi $sp,$sp,-12 #create stack for 2 words slti $t0,$a0,1 #n<1 - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fib:
- addi $sp,$sp,-12 #create stack for 2 words
- slti $t0,$a0,1 #n<1
- beq $t0,1,ret #we return value
- beq $a0,1,ret #we ret value as n==1
- #store the ra
- sw $ra,8($sp)
- sw $a0,0($sp) #first element will be the argument passed to fib, that is n
- addi $a0,$a0,-1 #compute n-1 and call fib
- jal fib
- #restore back value
- lw $a0,0($sp)
- #now store the result
- sw $v0,4($sp)
- #now compute n-2 and call fib
- addi $a0,$a0,-2
- jal fib
- #now return fib(n-1)+fib(n-2)
- lw $t0,4($sp) #restore fib(n-1) value
- add $v0,$v0,$t0
- lw $ra,8($sp)
- #now just pop last 3 elements of stack
- addi $sp, $sp, 12
- jr $ra #jump to return addr
- ret:
- add $v0,$a0,$zero #just return n as it was <=1
- jr $ra
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 3 sec ago | 0.10 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 8 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 14 sec ago | 0.10 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 17 sec ago | 0.24 KB
-
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐
Java | 25 sec ago | 0.10 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 26 sec ago | 0.24 KB
-
⭐⭐⭐GMAIL Logs (2FA disabled)⭐⭐
Java | 36 sec ago | 0.10 KB
-
⭐⭐⭐MAKE $900 INSTANTLY⭐⭐
Java | 1 min ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand