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 maximum displacement?
What is need of start 0?
Explain about house keeping in assembler?
What is the difference in data type "X" and "P"?
how to retrieve the instream data in sysin?
Explain how to access vsam file?
What is the use of TRT instruction and how it is working?
how to pass the parameters from jcl to assembler pgm?
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.
Explain how to produce soc7 abend?
Why do we use "drop"?
about maximum displacement and how to cross this limit.