1. Engineering
  2. Computer Science
  3. question 4 a threeaddress memorymemory architecture a memorymemory architecture works...

Question: question 4 a threeaddress memorymemory architecture a memorymemory architecture works...

Question details

Question 4. A three-address memory-memory architecture A memory-memory architecture works directly on data in memory, rather than using any kind of working registers. Suppose the three-address memory-memory architecture has a 220 ns clock cycle time, and the following instructions: ADD <mem addrl>, <mem addr2>, <mem addr3> Adds the data read from memory addresses 2 and 3, and writes result to memory address 1. Example: ADD A, B, C Mem [A Mem [B)+ Mem (C) MUL <mem addri>, <mem addr2>, <mem addr3> Multiplies the data read from memory addresses 2 and 3, and writes result to memory address 1. Example: MUL A, B, C Mem IAL & Mem [B] Mem (C Write assembly language code for the high-level code fragment A- (A B) D on the two-address load-store architecture. Include RTL comments. Do not use more memory locations than you need. What is the IC for your code? How long w take to run?
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution