Just want to know the logic behind this. Why is la used for strings and lw used for integers? For example:
.data
age: .word 30
.text
li $v0, 1
lw $a0, age
syscall
vs
.data
name: .asciiz "Joe"
.text
li $v0, 4
la $a0, name
syscall
from Recent Questions - Stack Overflow https://ift.tt/2PEuDiu
https://ift.tt/eA8V8J
No comments:
Post a Comment