Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .import print
- .import init
- .import new
- .import delete
- lis $4
- .word 4
- lis $11
- .word 1
- sub $29, $30, $4
- sw $1, -4($30)
- sub $30, $30, $4
- sw $2, -4($30)
- sub $30,$30,$4
- sw $1, -4($30)
- sub $30, $30, $4
- sw $2, -4($30)
- sub $30, $30, $4
- sw $31, -4($30)
- sub $30, $30, $4
- lis $5
- .word init
- jalr $5
- lw $31, 0($30)
- add $30, $30, $4
- lw $2, 0($30)
- add $30, $30, $4
- lw $1, 0($30)
- add $30, $30, $4
- lw $2, 0($30)
- add $3, $0, $11
- sw $3, -8($29)
- sub $30, $30, $4
- lis $3
- .word 512
- sw $1, -4($30)
- sub $30, $30, $4
- sw $31, -4($30)
- sub $30, $30, $4
- add $1, $3, $0
- lis $5
- .word new
- jalr $5
- lw $31, 0($30)
- add $30, $30, $4
- lw $1, 0($30)
- add $30, $30, $4
- sw $3, -4($30)
- sub $30, $30, $4
- lis $3
- .word -8
- add $3, $3, $29
- lw $5, 0($30)
- add $30, $30, $4
- sw $5, 0($3)
- lis $3
- .word 5000
- sw $3, -4($30)
- sub $30, $30, $4
- lw $3, -8($29)
- lw $3, 0($3)
- lw $5, 0($30)
- add $30, $30, $4
- sw $5, 0($3)
- sw $1, -4($30)
- sub $30, $30, $4
- sw $31, -4($30)
- sub $30, $30, $4
- lw $3, -8($29)
- lw $3, 0($3)
- add $1, $3, $0
- lis $5
- .word print
- jalr $5
- lw $31, 0($30)
- add $30, $30, $4
- lw $1, 0($30)
- add $30, $30, $4
- lw $3, -8($29)
- sw $1, -4($30)
- sub $30, $30, $4
- sw $31, -4($30)
- sub $30, $30, $4
- add $1, $3, $0
- lis $5
- .word delete
- jalr $5
- lw $31, 0($30)
- add $30, $30, $4
- lw $1, 0($30)
- add $30, $30, $4
- lw $3, -4($29)
- add $30, $29, $4
- jr $31
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement