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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is icm instruction?

637


What is maximum displacement and how to cross this limit?

660


What will happen if we drop the base register in the program which contains only one basereg?

569


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

626


What is house keeping in assembler?

590






Explain about base register?

599


Explain how to pass instream data in sysin with assembler?

637


what is need of start 0? In steed of

669


how to initialize a register to 0000?

661


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

636


Explain about house keeping in assembler?

632


Ap wkur,=p5 where wkur is a label?

664


What does the following code do? Ap wkur,=p5 where wkur is a label?

606


Explain the difference between various read and find statement and which one should be used when for better adabas performance?

577


What is maximum displacement?

618