Question: MIPS (Assembly Languuage) - Write pseudo code for the following: Instructions A message has been encoded using the following 5-bit character set: 11000 A 0000001000Q10000
MIPS (Assembly Languuage) - Write pseudo code for the following:
Instructions A message has been encoded using the following 5-bit character set: 11000 A 0000001000Q10000 Y B 00001 J 01001 R 10001 Z C 00010 K 01010 S 10010 SPACE11010 D 00011 L 01011 T 10011 E 00100 M 01100 U10100 F 00101 N 01101V10101! G | 00110 10 | 01110 |W | 10110 H 00111 P01111X 10111 11001 11011 11100 11101 The message is encoded into the following seven 32-bit words. Write a MIPS assemble program to decode and display the message. .data chars: .ascii "ABCDEFGHIJKLMNOPQRSTUVWXyz .,!-'" msg1 .word 0x93EA9646, 0xCDE50442, 0x34D29306, 0xD1F33720 .word 0x56033D01, 0x394D963B, 0xDE7BEFA4 msg1end: Note: remember the byte order. 46 is at address msg1, 96 is at msg+1, etc. Instructions A message has been encoded using the following 5-bit character set: 11000 A 0000001000Q10000 Y B 00001 J 01001 R 10001 Z C 00010 K 01010 S 10010 SPACE11010 D 00011 L 01011 T 10011 E 00100 M 01100 U10100 F 00101 N 01101V10101! G | 00110 10 | 01110 |W | 10110 H 00111 P01111X 10111 11001 11011 11100 11101 The message is encoded into the following seven 32-bit words. Write a MIPS assemble program to decode and display the message. .data chars: .ascii "ABCDEFGHIJKLMNOPQRSTUVWXyz .,!-'" msg1 .word 0x93EA9646, 0xCDE50442, 0x34D29306, 0xD1F33720 .word 0x56033D01, 0x394D963B, 0xDE7BEFA4 msg1end: Note: remember the byte order. 46 is at address msg1, 96 is at msg+1, etc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
