What do you mean by program control and stack pointer.


Program Control: Program control is how a program makes decisions or organizes its activities. Program control typically involves executing particular code based on the outcome of a prior operation or a user input.


SP (Stack Pointer): This is stack pointer register pointing to program stack. It is used in conjunction with SS for accessing the stack segment.
(i) Always points to top item on the stack
(ii) Offset address relative to SS
(iii) Always points to word (byte at even address)

(iv) An empty stack will had SP = FFFEh 

No comments

Dear Members, Thanks for Your Comments. We must be reply your comment answer as soon as possible. Please Stay with us.....

Theme images by ideabug. Powered by Blogger.