Computer Science Homework Help

Computer Science Homework Help. Write code to implement the below expression: A = (X+Y) * (Y-Z) / (X * Y) on 2, 1 and 0 address machines.

Q1. Write code to implement the below expression:

A = (X+Y) * (Y-Z) / (X * Y) on 2, 1 and 0 address machines.

Q2. In a computer instruction format, the instruction length is 13 bits and the size of an address field is 5 bits. The system architect has already designed FIVE 2-address instructions and TWENTY 1-address instructions. How many 0-address instruction still possible to accommodate for the instruction set architecture?

please follow the way shown in PPT

Computer Science Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"