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.

Answers were Sorted based on User's Feedback



HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS ..

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

HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS ..

Answer / dave grund

The more correct answer is:
You can use as many base registers as are available (unused).

This is a vague question, and I hesitate to speculate on the intent.

Is This Answer Correct ?    9 Yes 0 No

HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS ..

Answer / ken paek

no limitation within r3 to r12 as long as they are
available (not used).

Is This Answer Correct ?    6 Yes 5 No

HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS ..

Answer / rdm

Any Register between R2 to R12 can ONLY be used as Base
Registers; Other Registers are reserved by the System.

Is This Answer Correct ?    6 Yes 5 No

HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS ..

Answer / santhosh vayathuri

we can use maximum 3 base registers for one program

Is This Answer Correct ?    2 Yes 25 No

Post New Answer

More Assembler Interview Questions

Explain the difference between various read and find statement?

0 Answers  


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

4 Answers  


What is the difference in data type "X" and "P"?

5 Answers  


how to produce SOC7 abend

1 Answers   EDS, IBM,


cobol and assembler access

2 Answers   EDS,


What is maximum displacement?

0 Answers  


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).

1 Answers  


Is it possible to access some memory location (Ex: VAR1 DS P) without using Base Displacement?

1 Answers   HCL,


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?

0 Answers   IBM,


What is base register?

23 Answers   IBM, Infosys,


explain icm instruction?

0 Answers   IBM,


Why do we have multiple base registers in certain programs?

4 Answers   IBM,


Categories