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

how to access VSAm file

2 Answers   EDS, IBM,


Explain how to access vsam file?

0 Answers  


Can we use an equated value as operand for an MVC instruction? Reason for the same

8 Answers   IBM,


explain about maximum displacement and how to cross this limit?

0 Answers   IBM,


Explain the difference between various read and find statement?

0 Answers  






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

0 Answers  


Explain about maximum displacement?

0 Answers  


registers(0-15) ,where they are going be resides., does that mean here is it resides whether real or virtual memory? and why? then why we are assign even registers(0 to 6) for FP operations????

3 Answers  


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

0 Answers  


Ap wkur,=p5 where wkur is a label?

0 Answers   IBM,


What is need of start 0?

0 Answers  


Can we use MVC instruction to move pack field to pack field....which instruction you will use and why ?

4 Answers   Amdocs, IBM,


Categories