\$\begingroup\$
\$\endgroup\$
1
I am doing some practice problems involving MIPS assembly instructions and machine code(in hex). I am doing a problem but am uncertain if it is correct. This is the problem, and what I did:
addi 8,ドル 9,ドル -150
It is an I-type instruction, so I write it accordingly.
opcode: 001000
rs: 01001
rt: 01000
immediate: 1111111101101010
The answer I came up with is: OX2128FF6A
If anyone can check it and let me know if I have done it incorrectly or if you can offer any help/advice, I'd appreciate it. Thank you.
asked May 29, 2015 at 19:54
-
\$\begingroup\$ Your answer looks ok. \$\endgroup\$tcrosley– tcrosley2015年05月29日 23:22:57 +00:00Commented May 29, 2015 at 23:22
1 Answer 1
lang-vhdl