Explain about base register?
Answer / 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 |
how to access VSAm file
How many maximum base registers we can have in a program?
What is maximum displacement?
How are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program.
explain about maximum displacement and how to cross this limit?
Explain how to produce soc7 abend?
Explain the difference between various read and find statement and which one should be used when for better adabas performance?
Can we use MVC instruction to move pack field to pack field....which instruction you will use and why ?
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?
Why do we have multiple base registers in certain programs?
What does LA R3,R3 ?