Computer Science: An Overview: Global Edition (12th Edition)

Published by Pearson Higher Education
ISBN 10: 1292061162
ISBN 13: 978-1-29206-116-0

Chapter 2 - Data Manipulation - Section 2.4 - Arithmetic/Logic Instructions - Questions & Exercises - Page 115: 11

Answer

$One\ solution\ is\ as\ follows:$ $12A7 ‏\rightarrow$ (LOAD register 2 with the contents of memory cell A7.) $2380 ‏\rightarrow$ (LOAD register 3 with the value 80.) $7023 ‏\rightarrow$ (OR registers 2 and 3 leaving the result in register 0.) $30A7 ‏\rightarrow$ (STORE contents of register 0 in memory cell A7.) $C000 ‏\rightarrow$ (HALT.)

Work Step by Step

$One\ solution\ is\ as\ follows:$ $12A7 ‏\rightarrow$ (LOAD register 2 with the contents of memory cell A7.) $2380 ‏\rightarrow$ (LOAD register 3 with the value 80.) $7023 ‏\rightarrow$ (OR registers 2 and 3 leaving the result in register 0.) $30A7 ‏\rightarrow$ (STORE contents of register 0 in memory cell A7.) $C000 ‏\rightarrow$ (HALT.)
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.