Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define t0 $15
- #define t1 $16
- #define t2 $17
- #define s0 $18
- #define s1 $19
- .globl start
- .ent start
- start:
- addi s1, $0, 1
- addi s0, $0, 0
- addi t0, $0, 6
- addi t1, $0, 2
- loop:
- beq t1, t0, konec
- add t2, s0, s1
- add s0, $0, s1
- add s1, $0, t2
- addi t1, t1, 1
- j loop
- konec:
- addi s1, s1, 15
- nop
- end_loop: //Koncova nekonecna smycka
- j end_loop
- nop
- .end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement