WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM
WHICH CONTAINS ONLY ONE BASEREG?

Answers were Sorted based on User's Feedback



WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?..

Answer / guest

There will be a compilation error.

Is This Answer Correct ?    8 Yes 3 No

WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?..

Answer / phil

All references to labels dependant upon the base registers
using statement below the DROP instruction in the listing
will be unresolvable by the assembler.

Is This Answer Correct ?    5 Yes 1 No

WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?..

Answer / nsugandhi

It will give an error at the time of assembly, if there are
some labels defined in the program(provided they are being
referenced in your program). This is because the assembler
resolves the displacement of that variable from the location
where your base register is pointing to.

Is This Answer Correct ?    2 Yes 1 No

WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?..

Answer / guest

We cannot drop the base register, it is the memory location
for the whole program.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Assembler Interview Questions

what is need of start 0? In steed of

0 Answers   IBM,


explain about maximum displacement and how to cross this limit?

0 Answers   IBM,


How do you initialize a register to 0000?

10 Answers   HCL,


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

0 Answers  


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

2 Answers   IBM,






What is the use of TRT instruction and how it is working?

7 Answers   HCL, IBM, Wipro,


Explain how to produce soc7 abend?

0 Answers  


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

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  


What is base register?

23 Answers   IBM, Infosys,


How to pass the parameters from jcl to assembler program?

0 Answers  


Why do we use "drop"?

0 Answers  


Categories