hello everyone! i usually hang around the c++ area, but I'll need to learn assembly for computer architecture 2 in the fall so here it is. I wrote a simple program to convert temperatures from C to F. PCspim doesn't like it for some reason.
here are my codes, it just won't run.
.text
.globl _start
_start:
la $a0, prompt
li $v0, 4
syscall
li $v0, 5
syscall
mul $t0, $v0, 9
div $t0, $t0, 5
addi $t0, $t0, 32
la $a0, ans1
li $v0, 4
syscall
move $a0, $t0
li $v0, 1
syscall
la $a0, endl
li $v0, 4
syscall
li $v0, 10
syscall
.data
prompt: .asciiz "enter the temperature in celcius: "
ans1: .asciiz "The temperature in F is: "
endl: .asciiz "\n"