what is need of START 0?. In steed of '0' can we use any
other numerics?. if we use what will happen?.
Answers were Sorted based on User's Feedback
Answer / nitin
START is an assembler directive. The answer provided by Alok
is almost correct. The only thing difference is that this
directive (START 0) tells the assembler to start the
location counter from that point onwards and its initial
value is set to zero.(in this case). We can provide any
other numeric value as well.
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / alok
START is an assembler directive which has an optional
operand, (0 in your example). This operand acts as the
starting address of the program e.g. PROGNAME START X'3E0'
tells the linkage editor that this program is to be loaded
into main storage at address '3E0' in hex. This explanation
answers all your questions.
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / puneet assembler beginner
agreed with the last answer.
MVC is storage to storage and hence giving equated value
there will lead to unpredictable value at run time
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sysprog
The assembler directive START establishes the beginning of the program, and the operand 0 means an offset of 0 from the beginning of the module. If a program uses an instruction before using BALR to establish a program base register, the program base register will be offset from the beginning of the module, by the length of the instruction that precedes the BALR. Using START with an operand of that length can be useful for a more perspicuous assembly listing. START with a non-zero value is also sometimes used in 24-bit programs that due to their length being great enough to necessitate it, make use of more than one program base register; however, in most such situations, the CSECT assembler is used.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between various read and find statement,and which one should be used when for better adabas performance ?
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.
How are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program.
How to pass the parameters from jcl to assembler program?
What does the following code do? Ap wkur,=p5 where wkur is a label?
How we can Pass the parameters from JCL to assembler Pgm?
what is need of START 0?. In steed of '0' can we use any other numerics?. if we use what will happen?.
Explain how to pass instream data in sysin with assembler?
Why do we use "drop"?
Explain how to access vsam file?
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).
What is maximum displacement?