1.

What are pointer and index registers ?

Answer»

Pointer and index register:- 

(i) The Pointer IP,BP and SP usually contain in offset within the code and stack (Back SP and BP ) segment. 

(ii) The index register are used as general purpose register as well as for offset storage in case of indexed. 

(iii)The register SI is generally used to store the offset of source data segment while the register Di used to store the offset of destination in data or extra segment. 

The index register are particularly useful for string manipulation. 

SP- Stack Pointer 

BP-Back Pointer 

SI- Source Index 

DI-Destination Index 

IP- Index Pointer



Discussion

No Comment Found

Related InterviewSolutions