I want to declare some variables in MIPS(Assembly) and initialize them.I am parsing a C file.I initialize the variables like this:
.data
.text
.globl main
.align 2
a: .space 4
main:
#Exit
li $v0,10
syscall
But i don't know how to initialze variable a.I tried to use li,la,add,addi etc but nothing worked right.