Table of Contents

DMSLSY Source

References

Source Listing

DMSLSY.ASSEMBLE.txt
  1. LSY TITLE 'DMSLSY (CMS) VM/370 - RELEASE 6' 00001000
  2. SPACE 2 00002000
  3. *. 00003000
  4. * 00004000
  5. * 00005000
  6. * MODULE NAME: 00006000
  7. * 00007000
  8. * DMSLSY 00008000
  9. * 00009000
  10. * FUNCTION: 00010000
  11. * 00011000
  12. * TO GENERATE A UNIQUE CHARACTER STRING OF THE FORM 00012000
  13. * Z000001 FOR PRIVATE CODE SYMBOLS. 00013000
  14. * 00014000
  15. * ATTRIBUTES: 00015000
  16. * 00016000
  17. * REENTRANT, NUCLEUS RESIDENT 00017000
  18. * 00018000
  19. * ENTRY POINTS: 00019000
  20. * 00020000
  21. * DMSLSY - FROM DMSLDR PRIVATE CODE ROUTINE, 00021000
  22. * R1 IS SAVED 00022000
  23. * 00023000
  24. * ENTRY CONDITIONS: 00024000
  25. * 00025000
  26. * DMSLSY - R15 = ADDRESS OF DMSLSY 00026000
  27. * R14 = RETURN ADDRESS 00027000
  28. * 00028000
  29. * EXIT CONDITIONS: 00029000
  30. * 00030000
  31. * NORMAL - RETURN ON R14 00031000
  32. * ERROR - NONE 00032000
  33. * 00033000
  34. * EXTERNAL REFERENCES: 00034000
  35. * 00035000
  36. * NUCON 00036000
  37. * 00037000
  38. * TABLES/WORKAREAS: 00038000
  39. * 00039000
  40. * NONE 00040000
  41. * 00041000
  42. * CALLS TO OTHER ROUTINES: 00042000
  43. * 00043000
  44. * NONE 00044000
  45. * 00045000
  46. * REGISTER USAGE: 00046000
  47. * 00047000
  48. * R15 - BASE 00048000
  49. * R14 - RETURN 00049000
  50. * R1 - WORK 00050000
  51. * 00051000
  52. * OPERATION: 00052000
  53. * 00053000
  54. * KEEPS A BASE BINARY NUMBER WHICH IS INCREASED BY 00054000
  55. * DECIMAL 10 ON EACH PASS. THE BINARY NUMBER IS 00055000
  56. * CONVERTED TO DECIMAL, UNPACKED AND PLACED IN NUCON 00056000
  57. * BEHIND THE CHARACTER 'Z' ON EACH PASS. RETURN IS VIA 00057000
  58. * R14. 00058000
  59. * 00059000
  60. *. 00060000
  61. EJECT 00061000
  62. DMSLSY START 00062000
  63. USING NUCON,R0 00063000
  64. USING DMSLSY,R15 00064000
  65. ST R1,GET1 00065000
  66. L R1,JSYM 00066000
  67. LA R1,10(,R1) 00067000
  68. ST R1,JSYM 00068000
  69. CVD R1,DSYM 00069000
  70. UNPK NXTSYM+1(7),DSYM+4(4) 00070000
  71. MVI NXTSYM+7,C' ' 00071000
  72. L R1,GET1 00072000
  73. BR R14 00073000
  74. * 00074000
  75. REGEQU 00075000
  76. NUCON 00076000
  77. END 00077000