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
Answer Posted / john
To elaborate a little the reason for all this
"housekeeping": The "save areas" as they are called that are
created by the SAVE macro contain the contents of the
registers when the routine is called. Save areas are
backward and forward linked (by the 4 instructions after the
USING) so that if the program fails you can find them in a
dump. The ending part of the program is missing as well,
but it returns the registers to their previous state before
returning to the calling program. It might look something like:
DROP 12
ALLDONE L 13,SAVE+4
RETURN (14,12),RC=0
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Explain how to access vsam file?
Explain how to produce soc7 abend?
Explain about house keeping in assembler?
how to retrieve the instream data in sysin?
how to pass the parameters from jcl to assembler pgm?
How many maximum base registers we can have in a program?
How is data passed from a calling program to an assembler called program?
What is the use of trt instruction?
What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?
What is house keeping in assembler?
Explain the difference between various read and find statement and which one should be used when for better adabas performance?
Ap wkur,=p5 where wkur is a label?
explain icm instruction?
what is need of start 0? In steed of
What is maximum displacement?