Question

1. Compile the following C program using the most effective DLX code, similar to the example give...

1. Compile the following C program using the most effective DLX code, similar to the example given in the class.

int A[200], B[200], C[200];

.....

for(i=0;i<200;i++) A[i]=B[i]+C[i]*5;

Assume array A, B and C each starts at memory location x1000, x2000 and x3000, respectively. You will need to establish each of these addresses in a register (use r1, r2 and r3 for each of the three) before the loop. Also, you need to establish a counter register for “i” (use r4) and initialize it to 0.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Page ぐ4elseDate.Page Use r store X2060 b C btaf

Add a comment
Know the answer?
Add Answer to:
1. Compile the following C program using the most effective DLX code, similar to the example give...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT