Invitation to Computer Science 8th Edition

Published by Cengage Learning
ISBN 10: 1337561916
ISBN 13: 978-1-33756-191-4

Chapter 5 - Exercises - Page 275: 21b

Answer

$(w+x) - (y+z)$

Work Step by Step

At memory location 50: ADD 201, 202 At memory location 51: ADD 203, 204 At memory location 52: SUBTRACT 201, 203, 200 The instruction ADD 201, 202 will store w+x at w. Then the instruction ADD 203, 204 will store y+z at y. Finally SUBTRACT 201, 203, 200 will store the new value of w - new value of y at v. The final value of v will be $$(w+x) - (y+z)$$
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.