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

explain about maximum displacement and how to cross this limit?

0 Answers   IBM,


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

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  


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

8 Answers   IBM,


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

0 Answers  






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

0 Answers  


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.

5 Answers   IBM, TCS,


Explain the difference between various read and find statement?

0 Answers  


How do you initialize a register to 0000?

10 Answers   HCL,


how to find the dump

3 Answers   EDS,


cobol and assembler access

2 Answers   EDS,


how to produce SOC7 abend

1 Answers   EDS, IBM,


Categories