Question: When the button at P 1 . 0 is pressed, a subprogram named addition will be called, and when the button at P 1 .

When the button
at P1.0 is pressed, a subprogram named "addition" will be called, and when the button at P1.2 is pressed, a subprogram named
"multiply" will be called.
In the "add" subroutine, N1+N2 will be calculated, and in the "multiply" subroutine, N1xN2 will be calculated. The results will be
stored in P2. Here, N1 is stored in bank1's R0 and N2 is stored in bank2's R0.(Assume that the result of the operations does not
exceed FFh.)
4- Bir

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!