



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Instructions for a mips disassembler project, including language requirements, submission guidelines, and instruction format. Students must write a disassembler that can load a specified mips binary file and output the assembly code equivalent, along with the binary code and address.
What you will learn
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!
Disassembler output: 001000 00000 00001 00000 00000 001010 100 ADDI R1, R0, # 101011 00000 00001 00000 00100 001000 104 SW R1, 264(R0) 001000 00000 10100 00000 00000 000010 108 ADDI R20, R0, # 100011 00000 00001 00000 00100 001000 112 LW R1, 264(R0) 000001 00001 00000 00000 00000 001100 116 BLTZ R1, # 000000 00000 00001 01010 10100 000000 120 SLL R10, R1, # 100011 01010 00011 00000 00010 101100 124 LW R3, 172(R10) 100011 01010 00100 00000 00011 011000 128 LW R4, 216(R10) 100011 00000 00101 00000 00100 000100 132 LW R5, 260(R0) 000001 00011 00000 00000 00000 000010 136 BLTZ R3, # 000000 00100 00101 00110 00000 100010 140 SUB R6, R4, R 000010 00000 00000 00000 00000 100110 144 J # 000000 00100 00101 00110 00000 100000 148 ADD R6, R4, R 101011 01010 00110 00000 00010 101100 152 SW R6, 172(R10) 001000 00001 00001 11111 11111 111111 156 ADDI R1, R1, #- 101011 00000 00001 00000 00100 001000 160 SW R1, 264(R0) 000010 00000 00000 00000 00000 011100 164 J # 000000 00000 00000 00000 00000 001101 168 BREAK 11111111111111111111111111111111 172 - 11111111111111111111111111111110 176 - 11111111111111111111111111111101 180 - 00000000000000000000000000000001 184 1 00000000000000000000000000000010 188 2 00000000000000000000000000000011 192 3 00000000000000000000000000000000 196 0 00000000000000000000000000000000 200 0 00000000000000000000000000000101 204 5 11111111111111111111111111111011 208 - 00000000000000000000000000000110 212 6 00000000000000000000000000000000 216 0 00000000000000000000000000000000 220 0 00000000000000000000000000000000 224 0 00000000000000000000000000000000 228 0 00000000000000000000000000000000 232 0 00000000000000000000000000000000 236 0 00000000000000000000000000000000 240 0 00000000000000000000000000000000 244 0 00000000000000000000000000000000 248 0 00000000000000000000000000000000 252 0 00000000000000000000000000000000 256 0 00000000000000000000000000000001 260 1 00000000000000000000000000000000 264 0