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 MidTerm PastPaper Mishi Khan 0 147 12-22-2018, 07:41 PM
Last Post: Mishi Khan
  cs507 Assignment 1 Solution Fall 2018 Mishi Khan 0 186 12-10-2018, 10:31 PM
Last Post: Mishi Khan
  CS507 Assignment 1 Fall 2018 Required qasimali13 1 118 12-10-2018, 04:37 PM
Last Post: Pakistani
  CS507 Assignment solution Rubaisha(Moody Girl) 1 1,156 12-04-2018, 08:53 PM
Last Post: Malik Shafaat
  require cs506 assignment solution fahadmukhtar 0 102 12-01-2018, 06:42 PM
Last Post: fahadmukhtar
  Cs504 assignment solution idea Rubaisha(Moody Girl) 2 3,491 08-09-2018, 05:20 PM
Last Post: Zaeem Hassan
  CS502 GDB Solution 2017 Pakistani 1 2,051 08-07-2018, 06:31 PM
Last Post: Zaeem Hassan
  CS506 Assignment 3 Solution with explanation aghaJaan 3 2,107 07-28-2018, 11:13 PM
Last Post: Admin
  CS504 Assignment 1 Solution Fall 2018 Admin 0 2,142 05-05-2018, 11:11 AM
Last Post: Admin
  CS510 Assignment 2 Solution idea Fall 2017 aghaJaan 0 1,778 01-21-2018, 09:55 AM
Last Post: aghaJaan



Users browsing this thread:
1 Guest(s)