If using a CPU with a Memory-Memory ISA to compute the following expression: A = B + C + B*C, how many memory accesses will it take? Explain The Number of Memory Accesses in a Memory-Memory ISA

A Memory-Memory ISA: The number of memory accesses

In a CPU which uses a Memory-Memory Instruction Set Architecture (ISA), computing a simple expression like A = B + C + B*C could take up to 4 memory accesses. This is the fundamental workflow for computing an expression. First, the CPU will access the memory with values stored in B or C. Next, the CPU will combine these values and store it in a temporary registry. Then it will perform the multiplication and store it in the address A. These temporary registers do not store the results of multiplication and addition.  Knowing that only memory read and write operations are available, the expression A = B + C + B*C would require at least 3 memory accesses: one for reading B and C from memory, one for writing the result of the addition and then a third one for the multiplication result (Livas et al., 2019). For writing the result at address A of the memory, a fourth memory access will be required. Because of the limited number memory accesses required to calculate the expressions, Memory-Memory ISA can only do so much. Wong, 2017, suggests that General Purpose Registers or other ISAs may be better suited in this situation (Wong 2017).  References  Livas, M. A., Robinson, P., & Yueh, H. (2019). Computer Organization and Assembly Language Programming are also available in CS42. jblearning. doi:10.4324/9781315207500  Wong, E. (2017). Advanced Computer Architecture: Complexity Interfacing with Performance. Pearson Education. doi:10.1017/CBO9781107415324.004Cont…

Place your order
(550 words)

Approximate price: $22

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