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 |
Ap wkur,=p5 where wkur is a label?
What is icm instruction?
how to pass the parameters from jcl to assembler pgm?
How to pass the parameters from jcl to assembler program?
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????
How we can retrieve the instream data in SYSIN ?
What is the difference in data type "X" and "P"?
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 need of start 0? In steed of
How do you initialize a register to 0000?
Explain how to initialize a register to 0000?
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.