LCALL operation - Sequential steps

Q.  What is the correct chronological order of the following steps involved in the LCALL operation?

1. Load the value of 16-bit destination address to program counter
2. Increment of the program counter by value '3'
3. Storage of the higher byte of program counter on the stack
4. Increment of the stack pointer by value'1'
5. Storage of the lower byte of program counter on the stack
6. Increment in the value of stack pointer

- Published on 09 Nov 15

a. 5, 3, 1, 6, 2, 4
b. 1, 3, 2, 5, 4, 6
c. 2, 4, 5, 6, 3, 1
d. 5, 3, 6, 2, 4, 1

ANSWER: 2, 4, 5, 6, 3, 1

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)