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
  CS502 Assignment Solution Mishi Khan 0 134 02-04-2019, 07:04 PM
Last Post: Mishi Khan
  cs607 Assignment 3 Solution Mishi Khan 0 138 02-01-2019, 08:00 PM
Last Post: Mishi Khan
  CS605 Assignment Idea Solution Mishi Khan 0 75 02-01-2019, 02:00 AM
Last Post: Mishi Khan
  CS510 Assignment 2 Solution Mishi Khan 0 181 01-31-2019, 11:00 PM
Last Post: Mishi Khan
  CS504 Assignment Solution Mishi Khan 0 135 01-31-2019, 01:36 AM
Last Post: Mishi Khan
  CS501 Assignment Solution Mishi Khan 0 91 01-30-2019, 12:13 AM
Last Post: Mishi Khan
  CS501 MidTerm PastPaper Mishi Khan 0 230 12-22-2018, 07:41 PM
Last Post: Mishi Khan
  cs507 Assignment 1 Solution Fall 2018 Mishi Khan 0 293 12-10-2018, 10:31 PM
Last Post: Mishi Khan
  CS507 Assignment 1 Fall 2018 Required qasimali13 1 162 12-10-2018, 04:37 PM
Last Post: Pakistani
  CS507 Assignment solution Rubaisha(Moody Girl) 1 1,314 12-04-2018, 08:53 PM
Last Post: Malik Shafaat



Users browsing this thread:
1 Guest(s)