Question: Q1. Write down a code to push R6, R7, and B onto the stack and then pop them back them into R1, R2, and B.
Q1. Write down a code to push R6, R7, and B onto the stack and then pop them back them into R1, R2, and B. And show the contents of registers R1, R2 and B after popping. Contents of registers R6, R7 and B are 12H, 14H, 15H respectively
Q2. What does these instructions do?
(i) mov R2, 08
mov 0E0H, R2
(ii) mov 0F0h, 1A
mov 0E0h, 1B
add A, B
(iii) mov A, 18H
mov 90H, A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
