Question: ( 2 0 points ) A message can be represented as a string of ASCII characters, one per memory location, in consecutive memory locations. Bits

(20 points) A message can be represented as a string of ASCII characters, one per memory location, in consecutive memory locations. Bits [15:8] of each location contain 0, and the location immediately following the string contains x0000. The following program encrypt the message starting at x4000 by adding 5 to each character and storing the resulting message at x5000. However, there are four bugs in the program. Please find out these bugs and fix them. (Please interpret each machine code first. Directly writing the final answers will receive zero points.)
\table[[x3000,1110,0000,0000,1010],[x3001,0010,0010,0000,1010],[x3002,0110,0100,0000,0000],[x3003,0000,1110,0000,0101],[x3004,0001,0100,1010,0101],[x3005,011,0100,0100,0000],[x3006,0001,0000,0010,0001],[x3007,000,0010,0110,0001],[x3008,0000,1001,1111,1001],[x3009,0110,0100,0100,0000],[x300,111,0000,0010,0101],[x300B,0100,0000,0000,0000],[x300C,0101,0000,0000,0000]]
( 2 0 points ) A message can be represented as a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!