adspace


Explain about base register?

Answer Posted / Santosh Shaw

In Assembler, a Base Register is a memory register used as a base address for addressing the elements of an array or table. It holds the starting address of the array or table and indexing is performed relative to this base address.nnFor example, if a program has a data table starting at memory location 100 and the Base Register (say B) contains 100, then the first element of the table can be accessed by the instruction LDA B,0 which loads the content of memory location 100 into the accumulator.nnThe choice of a Base Register is usually determined by the assembler or compiler. Some architectures allow multiple base registers to be used simultaneously.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category