Hi this is my first post in this forum! I learned a bit of mips assembly and did my first exercise, I have some questions though. Where can I find the list of all the assembly commands? Some websites do not include bge (branch if greater or equal) in their list. I'm going to learn computer architecture from this book soon in my university:Computer Organization and Design: The Hardware/Software Interface (J.Hennessy), what kind of assembly I'm going to see there? Currently I'm studying from here: http://www.eecs.harvard.edu/~ellard/Courses/cs50-asm.pdf
and I have downloaded PcSpim 8.0 does anyone now how to run a programme on this thing?
Ok here's the programme (if you have any suggestions/corrections or a different approach please tell me):
la $t1,usrstr #$t1 used to hold the left index
la $t2,usrstr #$t2 used to hold the right index
beq $t3,10,sseek #go
to the search of a char or an int which is starting from the left
lb $t3,($t1) #$t3 to hold the byte
bge $t1,$t2,ypal # the way out if the string is palindromic or null
li $t4,0 # $t4=0 to indicate integer
li $t4,1 # $t4=1 to indicate char
lb $t6,($t2) # $t6 to hold the byte
li $t5,0 #$t5=0 to indicate int
blt $t6,58,checkeq #checkeq
to check equality of ints or chars inside $t3,$t6
li $t5,1 #$t5=1 to indicate char
beq $t4,0,npal #$t5 used as scratch place from now on
usrstr: .space 1024
npalmsg: .asciiz "The input string is not a palindromic one."
ypalmsg: .asciiz "The input string is a palindromic one."