HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM
AND ALSO HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A
SINGLE PROGRAM.
Answers were Sorted based on User's Feedback
Answer / steve holton
There are 16 registers, and ALL can be used as a base EXCEPT
for register 0, so the answer is AT LEAST 15. AT LEAST is
specified here because in any section of code, you can
"re-use" a previous base register once you are no longer
within the original address range ("scope") of that
particular base register. By re-using the registers, you can
have base registers that will cover ALL of the memory in the
machine - but not all at once - you have to "bite off" 15
base reg-at-a-time chunks of memory (all addressable memory
does not have to be contiguous - it can be scattered around
memory in 4K pieces).
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / dave grund
The more correct answer is:
You can use as many base registers as are available (unused).
This is a vague question, and I hesitate to speculate on the intent.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / ken paek
no limitation within r3 to r12 as long as they are
available (not used).
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / rdm
Any Register between R2 to R12 can ONLY be used as Base
Registers; Other Registers are reserved by the System.
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / santhosh vayathuri
we can use maximum 3 base registers for one program
| Is This Answer Correct ? | 2 Yes | 25 No |
Is it possible to access some memory location (Ex: VAR1 DS P) without using Base Displacement?
Explain how to initialize a register to 0000?
Explain how to access vsam file?
How are data passed from jcl parm to assembler program?
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
explain about maximum displacement and how to cross this limit?
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
How to initialize 20,000 bytes in the Assembler..
about ICM instruction.
cobol and assembler access
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????
What does LA R3,R3 ?