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 need of start 0? In steed of can we use anyother numerics? If we use what will happen?
explain icm instruction?
What is icm instruction?
Explain about base register?
How do you initialize a register to 0000?
Is it possible to access some memory location (Ex: VAR1 DS P) without using Base Displacement?
Explain how to pass instream data in sysin with assembler?
What is the use of trt instruction?
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????
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
Explain the difference in data type "x" and "p"?
What is house keeping in assembler? And explain the following code HELLOTSO START 0 * PRINT NOGEN BEGIN SAVE (14,12) LR 12,15 USING TYPE,12 ST 13,SAVE+4 LA 11,SAVE ST 11,8(13) LR 13,11