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 Spring 2019 Mishi Khan 0 115 05-11-2019, 09:59 PM
Last Post: Mishi Khan
  CS501 Assignment Solution Mishi Khan 0 295 01-30-2019, 12:13 AM
Last Post: Mishi Khan
  cs507 Assignment 1 Solution Fall 2018 Mishi Khan 0 652 12-10-2018, 10:31 PM
Last Post: Mishi Khan
  CS507 Assignment 1 Fall 2018 Required qasimali13 1 371 12-10-2018, 04:37 PM
Last Post: Pakistani
  CS502 GDB Solution 2017 Pakistani 1 3,015 08-07-2018, 06:31 PM
Last Post: Zaeem Hassan
  CS504 Assignment 1 Solution Fall 2018 Admin 0 3,113 05-05-2018, 11:11 AM
Last Post: Admin
  CS510 Assignment 2 Solution idea Fall 2017 aghaJaan 0 2,896 01-21-2018, 09:55 AM
Last Post: aghaJaan
  CS504 Assignment 1 Solution Fall 2017 Pakistani 0 2,438 11-27-2017, 11:13 PM
Last Post: Pakistani
  CS506 Assignment 2 Solution Fall 2017 Admin 0 2,432 11-23-2017, 10:51 AM
Last Post: Admin
  CS502 Assignment 1 Solution Fall 2017 Pakistani 0 2,136 11-16-2017, 11:53 AM
Last Post: Pakistani



Users browsing this thread:
1 Guest(s)