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…
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.
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 moreEach 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 moreThanks 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 moreYour 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 moreBy 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