MIPS_Assembly Language Programming_Question, my code isbelow. I put “【】 “symbol below to show where I’mconfused.
.text
.globl main
main:
# print user prompt
li $v0, 4
la $a0, prompt
syscall
li $v0, 8 # read string
la $a0, str # address of buffer
li $a1, 128 # buffer length
syscall
li $t0, 0 # push a null ‘ ‘
subu $sp, $sp, 4 # onto the stack
sw $t0, ($sp) # to signal its bottom
li $t1, 0 # index of first char in str
【
// Missing part.
// How to scan the string from right to left
// like input “Hello, World”
// if scan from right to left should be “dlroW ,olleH”
// and push onto the stack
//
PayPal Gateway not configured
PayPal Gateway not configured