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

Explain how to pass instream data in sysin with assembler?

0 Answers  


What is maximum displacement?

0 Answers  


Why do we use "drop"? What does "using" do?

4 Answers  


how to produce SOC7 abend

1 Answers   EDS, IBM,


Why do we use "drop"?

0 Answers  






How do you round the addition or subtraction of two numbers in assembler? what does the following code do? AP WKUR,=P'5' where WKUR is a label

3 Answers   CSC, IBM,


What is base register?

23 Answers   IBM, Infosys,


Explain how to initialize a register to 0000?

0 Answers  


about maximum displacement and how to cross this limit.

2 Answers   EDS,


explain about maximum displacement and how to cross this limit?

0 Answers   IBM,


change process tool( code changes from dev to prd) The changes made to your code should be effected in live. how the process takes place. that is how can you move the code changes from development to production.

1 Answers   EDS,


how to find the dump

3 Answers   EDS,


Categories