So I have created a linked list in which each node is 72 bytes with first 64 bytes for string, next 4 for integer and the last 4 for address in which the number are arranged in a sorted order. The first 64 bytes are reserved for the string and now I am trying to sort strings.
I use $a0,0($t0) to print the strings. I am extremely confused how to exchange the contents of the string part of the node
This is my exchange code for the string
exchange:
la $t8, 0($t1)
la $t9, 0($t2)
sw $t8, 0($t2)
sw $t9, 0($t1)