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 |
How we can Pass the parameters from JCL to assembler Pgm?
What is base register?
What is maximum displacement?
How is data passed from a calling program to an assembler called program?
Can we use an equated value as operand for an MVC instruction? Reason for the same
explain about maximum displacement and how to cross this limit?
How to pass the parameters from jcl to assembler program?
Why do we use "drop"?
Why do we use "drop"? What does "using" do?
How do you round the addition or subtraction of two numbers in assembler? what does the following code do? AP WKUR,=P'5' where WKUR is a label
Explain how to initialize a register to 0000?
explain icm instruction?