Why do we have multiple base registers in certain programs?
Answers were Sorted based on User's Feedback
Answer / mike m
A SINGLE BASE REGISTER ACCOUNTS FOR 4096 BYTES OF STORAGE.
YOU NEED A BASE REG. FOR EACH 4K. IF YOUR PROGRAM IS 12K,
YOU NEED AT LEAST 3 BASE REGS.
| Is This Answer Correct ? | 16 Yes | 3 No |
Answer / ajay kuriyal
it all depends upon the length of your program , if it is
more than 4095 then we need 2 register else only one can do
needful.
basically we can even use savearea register as a base
register, so as to accomodate the length of the program
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / dave grund
The more correct answer would be to address storage. Each register can address (or make reference to) 4,096 bytes of contiguous storage. If you need to address more storage than that, you need to initialize and use additional base registers.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / guest
To extend the Memory location of the current module
| Is This Answer Correct ? | 0 Yes | 1 No |
Why do we have multiple base registers in certain programs?
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
Write the fetch cycle and execute cycle for following instructions:JMPNZ (jump to the given address if the accumulator not equal to zero) RET(return from a subroutine) ADB (add the contents of register B to the accumulator and save result in the accumulator).
What is symbol table in assembler?
How many maximum base registers we can have in a program?
How is data passed from a calling program to an assembler called program?
explain about maximum displacement and how to cross this limit?
What is maximum displacement and how to cross this limit?
What does "using" do?
how to access VSAm file
What will happen if we drop the base register in the program which contains only one basereg?
What does LA R3,R3 ?