CS501 Assignment 1 Solution Fall 2017
#1
CS501 Advanced Computer Architecture
Assignment 1 Solution
Fall 2017

QUESTION No. 1
Write the code/instructions to implement the expression A = (B – C) + 15(D - 45) on 3, 2, 1, and 0-address machines

QUESTION NO. 2
Compute the total memory traffic in bytes for both instruction fetch and instruction execution for the code that implements the expression evaluation for the four machines in question # 1. 
Note: 
Assume opcodes occupy one byte, addresses occupy three bytes, and data values also occupy three bytes. Don’t mix it with code size of instruction.


Solution:
Download attached file for the complete solution of CS501 Assignment 1.


Attached Files
.pdf   CS501 Assignment 1 Complete Solution.pdf (Size: 9.43 KB / Downloads: 15)
  


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS501 Assignment Idea Solution Fall 2019 Ayra Suleman 0 240 11-15-2019, 02:31 AM
Last Post: Ayra Suleman
  CS507 Assignment 1 Solution Fall 2019 Ayra Suleman 0 258 11-15-2019, 02:24 AM
Last Post: Ayra Suleman
  CS502 Assignment 1 Solution Fall 2019 Ayra Suleman 0 191 11-11-2019, 02:04 AM
Last Post: Ayra Suleman
  CS504 Assignment 1 Solution Fall 2019 Ayra Suleman 0 181 11-11-2019, 01:51 AM
Last Post: Ayra Suleman
  CS508 Assignment 1 Solution Fall 2019 Ayra Suleman 0 54 11-11-2019, 01:28 AM
Last Post: Ayra Suleman
  CS501 GDB Solution Spring 2019 Ayra Suleman 0 843 08-10-2019, 01:14 AM
Last Post: Ayra Suleman
  CS501 Assignment Solution 2019 Spring Ayra Suleman 0 149 07-30-2019, 11:44 PM
Last Post: Ayra Suleman
  CS501 Assignment sOlution Spring 2019 Mishi Khan 0 195 05-11-2019, 09:59 PM
Last Post: Mishi Khan
  CS501 Assignment Solution Mishi Khan 0 383 01-30-2019, 12:13 AM
Last Post: Mishi Khan
  cs507 Assignment 1 Solution Fall 2018 Mishi Khan 0 791 12-10-2018, 10:31 PM
Last Post: Mishi Khan



Users browsing this thread:
1 Guest(s)