What is base register?
Answers were Sorted based on User's Feedback
Answer / bala
Base Register is the register, acts as a address holder of
the base storage location from where the datas were stored
continuously. Assembler uses the Base register value to
find the data that is required.
Is This Answer Correct ? | 225 Yes | 42 No |
Answer / divya
base register is used to assign a relative address to all
instructions and storage areas. By adding the address in
the base register to the displacement of the instruction,
we can find the absolute address of the instruction.
Is This Answer Correct ? | 53 Yes | 22 No |
Answer / chanu
it stores the base address (starting address af a programm).
Is This Answer Correct ? | 20 Yes | 3 No |
Answer / ken paek
A register that holds an aboslute address from which the
address of other statement (instruction) or data storage
can be calculated. In other word, a general register from 3
to 12 when used for addressing purposes is called as a base
register.
Is This Answer Correct ? | 21 Yes | 8 No |
Answer / joseph louis pargas
A base register is any general purpose register chosen by
programmer. It is assigned at the beginning of the program
as part of housekeeping with the USING assembler keyword,
and it's purpose is to maintain addressibility within a
page (4k) of code or data.
Is This Answer Correct ? | 32 Yes | 25 No |
Answer / anil
Base register is used to make CSECT and data addressible in
the assembler program.
Is This Answer Correct ? | 15 Yes | 11 No |
Answer / yogesh deshmukh
when registers are used in the formation of address,then they are called as base registers
Is This Answer Correct ? | 19 Yes | 15 No |
Answer / liverpool
Base register also used for Automatic updating. In many
applications there is a great deal of data movement between
CPU and memory. Therefore it is very useful if the base
register(r11) is updated in each load or store.
Is This Answer Correct ? | 6 Yes | 6 No |
Answer / jobayer hossain
Base register serves as an address register; an example is a table look-up instruction called XLAT.
whom locate the address.
Is This Answer Correct ? | 1 Yes | 1 No |
What is the difference between various read and find statement,and which one should be used when for better adabas performance ?
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
Explain the difference in data type "x" and "p"?
What is house keeping in assembler? And explain the following code HELLOTSO START 0 * PRINT NOGEN BEGIN SAVE (14,12) LR 12,15 USING TYPE,12 ST 13,SAVE+4 LA 11,SAVE ST 11,8(13) LR 13,11
how to initialize a register to 0000?
Explain how to pass instream data in sysin with assembler?
How is data passed from a calling program to an assembler called program?
In the house keeping section of an MVS assembly language program, like the one below STM R14,R12,12(R13) BASR R12,R0 USING *,R12,R11 LA R11,2048 LA R11,2048(R11,R12) .... .... 1. What if BASR R12,R0 IS NOT PRECEDE USING *,R12,R11? 2. USING (base address), REGISTER does USING directive says assembler to treat particular Register as a base register with the mentioned base address..in the above case * i.e current location counter..well if that is the case why we need BASR R12,R0 ? 3. What if I write like STM R14,R12,12(R13) BASR R12,R0 LA R11,2048 LA R11,2048(R11,R12) USING *,R12,R11 there is no address resolution being calculated in both LA statements so is it a right way to set Base register?..will there be any issues with Domain regarding R11 and R12?
How to pass instream data in sysin with Assembler?
how to retrieve the instream data in sysin?
registers(0-15) ,where they are going be resides., does that mean here is it resides whether real or virtual memory? and why? then why we are assign even registers(0 to 6) for FP operations????
Why do we have multiple base registers in certain programs?