Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Demonstrate the function of the 8x32 register file in implementing the instruction sw $t4, 0(St1) by listing the values of each ports address (3
Demonstrate the function of the 8x32 register file in implementing the instruction sw $t4, 0(St1) by listing the values of each ports address (3 bits), data (in decimal) and decoder outputs (8 bits) W_data- W addr addi beg bne 1w 3x8 write decoder aw add wit 12 11 10 1 Mnemonic Type 11 || || || d4 RR d5 d6 d7 load $10 load $t1 load $12 load $13 load $14 load $15 load st6 load $17 3 3 3 3 3 32 | 32 NA 32 32 8x32 register file 32 Opcode Funct 0x08 0x04 NA 0x05 0x23 NA 0x2B 0x00 0x20 0x00 0x2A 32 H CH - Sat $10 St1 $12 do $13 $14 3x8 d1 read decoder d2 32 d3 12 11 10 64 d5 d6 07 Register Address Szero 1 R1 en 0 1 8 9 10 11 12 R1 data R1 addr do 3x8 d1 read decoder d2 d3 32 d4 d5 [S12]=420 [St3]-50080 12 [S14) -870 [S5] =50120 [$16)=5550 11 10 +++ Register Contents: [Sto] =250 [St1] =50040 R2 en R2_dat R2_addr beq bne 1w SW add slt sub I I R R R Op code Op code Op Code Write port: R1 port: R2 port: 0x04 0x05 0x23 0x2B 0x00 0x00 0x2A 0x00 0x22 Rs NA NA NA NA 0x20 Rs Rt Rt Write in binary: R1_addr = Write in decimal: R1_data = Rd Sat Sto Write in binary: R2_addr = Write in decimal: R2_data = St1 $12 St3 St4 $15 St6 St7 Shift IMM Pseudo Address 1 8 9 10 11 12 13 14 15 Write in binary: W_addr = Write in decimal: W_data = W_en = Write as an 8-bit binary string: W_d0d1d2d3d4d5d6d7 = Function R1_en = Write as an 8-bit binary string: R1_d0d1d2d3d4d5d6d7 = R2_en= Write as an 8-bit binary string: R2_d0d1d2d3d4d5d6d7 = [$t1] =500410 [$12] =4210 [$13] =500810 [$14] =8710 [$15] =501210 [$16] =55510 [$17] =501610 Data Memory Contents: DM[5000] =218 DM[5004] =95 DM[5008] =452 DM[5012] = 79 DM[5016] =835 DM[5020]=71 DM[5024] =29 DM[5028] =453 DM[5032] =38
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started