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
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by FrankJScott
10-13-2021, 09:47 PM
Last Post by FrankJScott
10-13-2021, 08:46 PM
Last Post by FrankJScott
10-13-2021, 08:02 PM
Last Post by Mourldorp
10-11-2021, 08:39 PM
Last Post by fubbave
10-10-2021, 12:19 PM
Last Post by fubbave
10-10-2021, 02:59 AM
Last Post by fubbave
10-09-2021, 04:50 AM



Users browsing this thread: 1 Guest(s)