April 2000
CS202 : COMPUTER ARCHITECTURE AND DATA COMMUNICATIONS

QUESTION 2

Total Marks: 15 Marks

Click here to access other questions

Click to access
SUGGESTED SOLUTIONS
for Question 2

(a)With the aid of a diagram,explain the characteristics of a stack.[6 marks ]

(b)What is parameter passing?Describe two different ways in which a system might perform arameter passing,and explain the benefits of each.[5 marks ]

(c)Write machine instructions (LOAD ADD,SUB,etc.)which use a stack to com ute the following expression.What is the minimum stack size needed by your program?
X =(A *B) +(C -D)
[4 marks ]