You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
la a0, $str$prototype
|
|
lw t0, 0(a0)
|
|
lw t1, 4(a0)
|
|
lw t2, 8(a0)
|
|
li t3, 1
|
|
la a0, allChars
|
|
li t4, 256
|
|
mv t5, zero
|
|
initchars_1:
|
|
sw t0, 0(a0)
|
|
sw t1, 4(a0)
|
|
sw t2, 8(a0)
|
|
sw t3, 12(a0)
|
|
sw t5, 16(a0)
|
|
addi a0, a0, 20
|
|
addi t5, t5, 1
|
|
bne t4, t5, initchars_1
|
|
jr ra
|
|
.data
|
|
.align 2
|
|
|
|
|