Table of Contents

SVCENT Source

References

Source Listing

SVCENT.MACRO.txt
  1. MACRO 00001000
  2. &N SVCENT &LOC,&SV 00002000
  3. &N DMSKEY NUCLEUS 00003000
  4. USING NUCON,0 00004000
  5. L 15,ASVCSECT POINT TO SVCSECT 00005000
  6. USING SVCSECT,15 00006000
  7. ST 14,&SV SAVE REG 14 TEMPORARILY 00007000
  8. BALR 15,0 GET ADDRESSABILITY 00008000
  9. USING *,15 00009000
  10. LA 15,&LOC POINT TO 'REAL' ROUTINE ADDR 00010000
  11. BALR 14,15 CALL 'REAL' ROUTINE 00011000
  12. DROP 15 00012000
  13. LR 14,15 SAVE RETURN CODE TEMPORARILY 00013000
  14. DMSKEY RESET 00014000
  15. LTR 15,14 RESTORE RETURN CODE FROM ROUTINE 00015000
  16. L 14,ASVCSECT POINT TO SVCSECT 00016000
  17. USING SVCSECT,14 00017000
  18. L 14,&SV RESTORE REG 14 00018000
  19. DROP 14 00019000
  20. BR 14 RETURN TO CALLER 00020000
  21. MEND 00021000