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
how to retrieve the instream data in sysin?
What is maximum displacement?
What is need of start 0?
Why do we use "drop"?
What is the use of trt instruction?
What will happen if we drop the base register in the program which contains only one basereg?
Explain the difference between various read and find statement and which one should be used when for better adabas performance?
Explain the difference between various read and find statement?
how do you round the addition or subtraction of two numbers in assembler? what does the following code do? 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?
How is data passed from a calling program to an assembler called program?
Explain how to access vsam file?
What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?
what is need of start 0? In steed of
What is icm instruction?
How to pass the parameters from jcl to assembler program?