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 Solution 1 Spring 2020 Ayra Suleman 0 145 06-11-2020, 05:34 AM
Last Post: Ayra Suleman
  CS504 Assignment 3 Solution Fall 2020 Ayra Suleman 0 1,486 01-26-2020, 02:42 AM
Last Post: Ayra Suleman
  CS510 Assignment 3 Solution Fall 2020 Ayra Suleman 0 1,298 01-26-2020, 02:21 AM
Last Post: Ayra Suleman
  CS507 Assignment Solution 2 Fall 2020 Ayra Suleman 0 365 01-25-2020, 11:34 PM
Last Post: Ayra Suleman
  CS501 Assignment Idea Solution Fall 2019 Ayra Suleman 0 1,930 11-15-2019, 02:31 AM
Last Post: Ayra Suleman
  CS507 Assignment 1 Solution Fall 2019 Ayra Suleman 0 1,415 11-15-2019, 02:24 AM
Last Post: Ayra Suleman
  CS502 Assignment 1 Solution Fall 2019 Ayra Suleman 0 676 11-11-2019, 02:04 AM
Last Post: Ayra Suleman
  CS504 Assignment 1 Solution Fall 2019 Ayra Suleman 0 624 11-11-2019, 01:51 AM
Last Post: Ayra Suleman
  CS508 Assignment 1 Solution Fall 2019 Ayra Suleman 0 292 11-11-2019, 01:28 AM
Last Post: Ayra Suleman
  CS501 GDB Solution Spring 2019 Ayra Suleman 0 1,151 08-10-2019, 01:14 AM
Last Post: Ayra Suleman



Users browsing this thread:
1 Guest(s)