Trouble with QTSpim program -


im having trouble writing program in qtspim. keep getting error saying "instructions references undefined symbol @ 0x00400014 [0x00400014] 0x0c000000 jal 0x00000000 [main] ;118:jal main" if understand correctly, means main label missing it's not. here's code:

.data w:  .word 0 x:  .word 0 y:  .word 0 z:  .word 0 n:  0x89ab672f  .text main:          li $t3, 1  start:       la $t0, w       lw $t1, $t0       beqz $t1, next       bnez $t1, fin  next:        lw $t2, n       sw $t2, $t0       la $t0, 4($t0)       addi $t3, 1       j start  fin:       li $v0, 10       syscall 


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -