我是MIPS的一名开始人员,并且遇到了一个串接程序问题。我写的代码是在这里 # _strConcat
#
# Concatenate the second string to the end of the first string
#
# Arguments:
# - $a0: The address of the first string
# - $a1: The address o
我是新来的MIPS汇编编程最长的字的地址。我有这样的项目: 首先,我们必须给定的字符串的地址加载到寄存器中。该字符串包含一个句子(一个字符数组)和单词与空间分离。然后,我们必须找出每个单词的长度,并将它们的长度与其他单词的长度进行比较。最后,我们需要找到长度最长的单词并打印出第一个字母的地址。 例如,如果字符串是: string: .asciiz "This is a wonderful day"
# Prompt user to enter the integer scores for Exams 1, 2, and Final,
# read the scores,
# compute the weighted average score (using the following formula), and
# display a labeled output about the
我想只使用一个数组来反转数组。当高指数小于或等于低时,我应该继续切换高低的内容。但是,我得到的地址超出范围,并且无法找到如何修复它的资源。我应该在倒序数组时使用一个数组。我究竟做错了什么?加星标是我得到错误的地方。 reverseArray:
li $t6, 0 #head = first index of array
la $s0, array
li $t5