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
  CS506 Assignment 3 Solution with explanation aghaJaan 1 363 01-23-2018, 11:26 AM
Last Post: Admin
  CS510 Assignment 2 Solution idea Fall 2017 aghaJaan 0 230 01-21-2018, 09:55 AM
Last Post: aghaJaan
  CS504 Assignment 1 Solution Fall 2017 Pakistani 0 353 11-27-2017, 11:13 PM
Last Post: Pakistani
  CS506 Assignment 2 Solution Fall 2017 Admin 0 399 11-23-2017, 10:51 AM
Last Post: Admin
  CS502 Assignment 1 Solution Fall 2017 Pakistani 0 344 11-16-2017, 11:53 AM
Last Post: Pakistani
  CS506 Assignment 1 Solution Fall 2017 Pakistani 0 483 11-08-2017, 09:41 AM
Last Post: Pakistani
  CS507 Assignment solution Rubaisha(Moody Girl) 0 356 07-25-2017, 10:23 PM
Last Post: Rubaisha(Moody Girl)
  CS502 Assignment 3 Solution Pakistani 0 462 07-18-2017, 10:00 AM
Last Post: Pakistani
  CS506 Assignment No1 Solved 2017 Rubaisha(Moody Girl) 0 983 05-05-2017, 02:11 PM
Last Post: Rubaisha(Moody Girl)
  CS502 GDB Solution 2017 Pakistani 0 1,433 02-16-2017, 09:41 AM
Last Post: Pakistani



Users browsing this thread:
1 Guest(s)