Computer architecture, read it first please

Computer Architecture

1) c = (a + b) /a

    d = b*(a + b) / a * c

    e = a* (c + d)

Write the assembly to do the following statements for each of the following architectures. Use the least number of instructions. Reuse register when you can. Do not use addressing modes. Use Load r1, a or add a,b,c

(0,2) GPR

(0,3) GPR

(1,2) GPR

(3,3) GPR

2) We have data stored in memory location 0x3aa, 0x3bb and 0x3cc. How do we perform the following operation multiply 0x3aa by 0x3bb and store into 0x3cc

a) (3,3) GPU only using register indirect

b) (3,3) GPU only using memory indirect (will need to have additional memory locations)

3) Write out how to solve the following code using any addressing mode for (0,3) GPR. Write comments besides each line of code. Similar to how it was done in class.

Short a[50];

Int y,z;

for( x=0; x<20; x++)

{

y = a[x + 3];

z = y + a[x%10];

}

4) How would you write good for A[x][y+5]? Use indirect addressing with index register.

5) Using only the register direct addressing modes write how to do the following CISC instruction

ADD @(r1,r2),+(r4),80(r5)

 

 

note:

due in one hour, only questions 2,3,4,5

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more