cs501 assignment 1 solution 2020
Question No.1
Write assembly code for 2-address and 3-address machines to evaluate
the given expression:
z = x2 - 3xy +
2(x/y) + y2
Note: x, y and z are memory locations
Question No.2
For the above given expression, calculate the time required to
execute the code for 2-address and 3-address machines by considering the
following parameters:
Machine Type
|
Average CPI
|
Processor Frequency
|
2-address
|
3
|
200 MHz
|
3-address
|
5
|
250 MHz
|
YouTube Video link
cs501 assignment
0 Comments