The task is: "Modify the program shown in Figure 3-4. Ask the user to enter an integer value, then print the result of doubling that number. Use the add statement.", and this is the program I need to modify:
.data
str1: .asciiz "Prosze podac liczb: \n"
str2: .asciiz "Wprowadzona liczba to:"
.text
main:
li $v0, 4
la $a0, str1
syscall
li $v0, 5
syscall
move $s0, $v0
li $v0, 4
la $a0, str2
syscall
li $v0, 1
move $a0, $s0
syscall
li $v0, 10
syscall