Assignment No. 01
Semester Fall 2011
Advance Computer Architecture - CS501
Total Marks: 20
Due Date: 31/10/2011
Question No 1 Marks: 5+5+5+5 = 20
Write the code to implement the expression A = (B+C) * (D + E) for
1) 3-address instructions
2) 2-address instructions
3) 1-address instructions
4) 0-address instructions
In accordance with programming language practice, computing the expression should not change the values of its operands.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.