1. The problem statement, all variables and given/known data Write a single line MIPS assembly code as an input through the SPIM simulator console and the program will output a 32 bit MIPS machine code through the console. I'm using PCSpim to write the code. An example, I input this instruction in the console. addi $t0,$t0,1 and the console outputs. 00100001 00001000 00000000 00000001 I'm trying to write it for other instruction codes as well. 2. Relevant equations MIPS Syscall Sheet https://www.student.cs.uwaterloo.ca/~isg/res/mips/traps 3. The attempt at a solution la $a0, 8 # string into $a0 syscall move $a1, $a0, 8 I just need an example for one instruction like using addi as a guide and I can do the rest. Or point in the right direction. I get stuck after getting the input from console. Should I store the "whole" string to one address? I know there are different ways of doing it like taking each character and check it but I'd rather take the whole code through a string.