I don’t really understand if in this task we’re supposed to shift tile values by using sll. When I tried to do it with sll it didn’t work so I’m starting to think that maybe we’re supposed to do it a different way
Yes you need to do it a different way. sll shifts individual bits in a bit string, i.e. if you have a bit string 0001 and you shift it two to the left you get 0100.
But the playing field is not a bit string. It consists of numbers that are stored next to each other in the data segment. You can change the data segment using load and store instructions not shift instructions. For more information on the data segment see The Data Segment which also contains examples.
Thank you for your help