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
  Cs504 assignment solution idea Rubaisha(Moody Girl) 2 3,150 08-09-2018, 05:20 PM
Last Post: Zaeem Hassan
  CS502 GDB Solution 2017 Pakistani 1 1,870 08-07-2018, 06:31 PM
Last Post: Zaeem Hassan
  CS506 Assignment 3 Solution with explanation aghaJaan 3 1,645 07-28-2018, 11:13 PM
Last Post: Admin
  CS504 Assignment 1 Solution Fall 2018 Admin 0 1,181 05-05-2018, 11:11 AM
Last Post: Admin
  CS510 Assignment 2 Solution idea Fall 2017 aghaJaan 0 1,286 01-21-2018, 09:55 AM
Last Post: aghaJaan
  CS504 Assignment 1 Solution Fall 2017 Pakistani 0 1,185 11-27-2017, 11:13 PM
Last Post: Pakistani
  CS506 Assignment 2 Solution Fall 2017 Admin 0 1,219 11-23-2017, 10:51 AM
Last Post: Admin
  CS502 Assignment 1 Solution Fall 2017 Pakistani 0 1,192 11-16-2017, 11:53 AM
Last Post: Pakistani
  CS506 Assignment 1 Solution Fall 2017 Pakistani 0 1,263 11-08-2017, 09:41 AM
Last Post: Pakistani
  CS507 Assignment solution Rubaisha(Moody Girl) 0 881 07-25-2017, 10:23 PM
Last Post: Rubaisha(Moody Girl)



Users browsing this thread:
1 Guest(s)