Why do we have multiple base registers in certain programs?

Answers were Sorted based on User's Feedback



Why do we have multiple base registers in certain programs?..

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

Why do we have multiple base registers in certain programs?..

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

Why do we have multiple base registers in certain programs?..

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

Why do we have multiple base registers in certain programs?..

Answer / guest

To extend the Memory location of the current module

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Assembler Interview Questions

What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?

0 Answers  


What does LA R3,R3 ?

1 Answers   Amdocs,


about ICM instruction.

4 Answers   EDS,


explain icm instruction?

0 Answers   IBM,


Explain about maximum displacement?

0 Answers  






What is house keeping in assembler?

0 Answers  


How to pass instream data in sysin with Assembler?

2 Answers   ANZ, IBM,


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

6 Answers   Mind Tree,


How are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program.

3 Answers   HCL, IBM,


How many maximum base registers we can have in a program?

0 Answers  


How to pass the parameters from jcl to assembler program?

0 Answers  


Explain about house keeping in assembler?

0 Answers  


Categories