Help with disassembling MIPS-32 bit instructions Having trouble disassembling. I
ID: 3922905 • Letter: H
Question
Help with disassembling MIPS-32 bit instructions
Having trouble disassembling. I know opcode is usally the first 6 bits and then that determines the rest of instruction whether valid or not.
Need help filling in blanks.
Address Instruction Instruction type (I,R,J) Assembly Language Instruction Mistakes in formatted instruction (if any) 00400014 000000C0 004000C4 F504050E 004000B4 14337793 00400020 2B169CF5 00400098 D59E7E4D 0040002C C633C8C7 00400088 0000000C 00400038 38835C41 00400068 44000007 00400054 C9DE86E7Explanation / Answer
MVI C,00
LDA 4200
MOV B,A
LDA 4201
MOV A,D
MVI A,00
LABEL:ADD B
DCR D
JNZ LABEL
JNC LOOP
INR C
LOOP:STA 4202
MOV A,C
STA 4203
HLT
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.