Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here is an assembled function in MIPS addi $sp, $sp, 4 Sw Li 1i L1 Li 0xe04800b8 ex23bdfffc addi $29, $29,exffff... 75: 0x084000bc exafb10000 sw

image text in transcribed
Here is an assembled function in MIPS addi $sp, $sp, 4 Sw Li 1i L1 Li 0xe04800b8 ex23bdfffc addi $29, $29,exffff... 75: 0x084000bc exafb10000 sw $17,8x8000e000($29) 76: 0xe04000ce ex24020000 addiu $2,$0,0x00000000 78: 0x004000c4 0x24030000 addiu $3, $8,0x00000000 79: 0x004000c8 ex240a0020 addiu $18, s0,8xeeee... 80: 0x004000cc 8x240b000a addiu $11,s0,8x0000... 81: 0x884800de ex90910000 lbu $17,0x000e0000($4) 83: 0x004000d4 0x28840001 add1 $4,$4,0x80000001 84: 0x004008d8 8x122b0004 beq $17,$11,8x00000004 85: 0x004000dc 8x20420001 addi $2,$2,8x80000001 86: 0x804000e0 8x162afffb bne $17,$10,8xfffffffb 87: 0x004008e4 8x20630001 addi $3,$3,8x00000001 88: 0x004000e8 8x88100034j 0x804000de 0x004000ec 0x20630001 addi $3,$3,8x00000001 93: 0x804000fe ex8fb10000 tw $17,0x8000e00e ($29) 96: 0x804000f4 8x23bdee04 addi $29,$29,8x8000.. 97: 0x80400018 ex03e00e08 jr $31 ss1, (ssp) sve, e Svl, e st2, 32 # ascii space st3, 10 # ascii newline addi sao, sao, 1 #inc rement to next byte beq ss1, $t3, stats_exit add sve, sve, 1 #inc renent character count bne $s1, $t2, stats lp addi Sv1, $v1, 1 # increment word count stats lp Sv1, Sv1,1 $51, (ssp) $sp, $sp,4 Sra 90: #addLast word addi tw addi jr 98: Break down instruction bne on line 87 into its format and describe each part. Break down the j instruction on line 90 into its format and describe each part. Break down instruction lbu on line 83 into its format and describe each part

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions