User Tools

Site Tools


ibm:vm370-lib:copy:perbloks.copy_src

PERBLOKS Source

References

Source Listing

PERBLOKS.COPY.txt
  1. *COPY PERBLOKS 00001000
  2. PUSH PRINT 00002000
  3. AIF ('&SYSPARM' NE 'SUP').PER01 00003000
  4. PRINT OFF,NOGEN 00004000
  5. .PER01 ANOP 00005000
  6. PERBLOK DSECT 00006000
  7. SPACE 00007000
  8. *** PERBLOK - PER TRACE CONTROL BLOK 00008000
  9. * 00009000
  10. * 0 +-----------------------+-----------------------+ 00010000
  11. * | PERCHAIN | PERSAVED | 00011000
  12. * 8 +-----------------------+-----------------------+ 00012000
  13. * | PERSEQT | PERSEQP | 00013000
  14. * 10 +-----------------------+-----------+-----------+ 00014000
  15. * | PERTBAK | PERBBLIP | PERIBLIP | 00015000
  16. * 18 +-----------+-----------+-----------+-----------+ 00016000
  17. * | PERSBLIP | PERGBLIP | PERCR9 | 00017000
  18. * 20 +-----------+-----------+-----------------------+ 00018000
  19. * | PERCR10 | PERCR11 | 00019000
  20. * 28 +-----------------------+-----------+-----------+ 00020000
  21. * | PERADDR | PERCDE | PERPEXCT | 00021000
  22. * 30 +-----------------------+-----------+-----------+ 00022000
  23. * | PERGPRP | PEREX | 00023000
  24. * 38 +-----------------------+-----------+-----------+ 00024000
  25. * | PERINST | PERGALT | 00025000
  26. * 40 +-----------------------+-----------+-----------+ 00026000
  27. * | PEROP1 | PEROP2 | 00027000
  28. * 48 +-----+-----------------+-----------------------+ 00028000
  29. * | P*1 | PEREXADD | PERSTLEN | 00029000
  30. * 50 +-----+-----------------+-----------------------+ 00030000
  31. * | | 00031000
  32. * = PERBUF = 00032000
  33. * | | 00033000
  34. * A0 +-----------------------------------------------+ 00034000
  35. * 00035000
  36. *** PERBLOK - PER TRACE CONTROL BLOK 00036000
  37. SPACE 00037000
  38. PERCHAIN DS F ANCHOR FOR PER ELEMENTS 00038000
  39. PERSAVED DS F ANCHOR FOR SAVED TRACE SETS 00039000
  40. PERSEQT DS F ADDR OF NEXT ISN FOR TERM OUTPUT 00040000
  41. PERSEQP DS F ADDR OF NEXT ISN FOR PRT OUTPUT 00041000
  42. PERTBAK DS F POINTER TO AREA FOR BRANCH TRACEBACK 00042000
  43. PERBBLIP DS H BRANCH BLIP COUNTER 00043000
  44. PERIBLIP DS H IFETCH BLIP COUNTER 00044000
  45. PERSBLIP DS H STORE BLIP COUNTER 00045000
  46. PERGBLIP DS H GREG BLIP COUNTER 00046000
  47. PERCR9 DS F CR9 FOR PER TRACE 00047000
  48. PERCR10 DS F CR10 FOR PER TRACE 00048000
  49. PERCR11 DS F CR11 FOR PER TRACE 00049000
  50. PERADDR DS F PER EVENT ADDRESS 00050000
  51. PERCDE DS H PER EVENT CODE 00051000
  52. PERPEXCT DS H NUMBER OF PEX BLOCKS 00052000
  53. PERGPRP DS F POINTER TO GPRS FOR GPR TRACE 00053000
  54. PEREX DS F EXECUTE INSTRUCTION (IF ANY) 00054000
  55. PERINST DS 3H INSTRUCTION 00055000
  56. PERGALT DS H ALTERED REGISTER FLAGS 00056000
  57. PEROP1 DS A FIRST OPERAND ADDRESS 00057000
  58. PEROP2 DS F SECOND OPERAND ADDRESS 00058000
  59. PEREXMOD DS X P*1 EXECUTE MODIFIER BYTE 00059000
  60. PEREXADD DS AL3 EXECUTE ADDRESS 00060000
  61. PERSTLEN DS F LENGTH OF STORE 00061000
  62. PERBUF DS 10D CONSOLE/PRINTER OUTPUT BUFFER 00062000
  63. PERSIZE EQU (*-PERBLOK+7)/8 SIZE OF PERBLOK 00063000
  64. SPACE 1 00064000
  65. * FLAGS DEFINED IN FIRST BYTE OF PEROP1 AND PEROP2 00065000
  66. SPACE 1 00066000
  67. PEROPNOT EQU X'80' OPERAND NOT DEFINED 00067000
  68. PEROPQU EQU X'40' UNABLE TO DETERMINE ADDRESS 00068000
  69. SPACE 00069000
  70. PERTBLEN EQU 6*16 SIZE OF TRACEBACK TABLE 00070000
  71. EJECT 00071000
  72. PESBLOK DSECT 00072000
  73. SPACE 00073000
  74. *** PESBLOK - PER SAVED TRACE SET POINTER BLOCK 00074000
  75. * 00075000
  76. * 0 +-----------------------+-----------------------+ 00076000
  77. * | PESNEXT | PESCHAIN | 00077000
  78. * 8 +-----------------------+-----------------------+ 00078000
  79. * | PESNAME | 00079000
  80. * 10 +-----------------------------------------------+ 00080000
  81. * 00081000
  82. *** PESBLOK - PER SAVED TRACE SET POINTER BLOCK 00082000
  83. SPACE 00083000
  84. PESNEXT DS F POINTER TO NEXT PESBLOK 00084000
  85. PESCHAIN DS F POINTER TO CHAIN OF SAVED PEXBLOKS 00085000
  86. PESNAME DS CL8 NAME OF SAVED TRACE SET 00086000
  87. PESSIZE EQU (*-PESBLOK+7)/8 SIZE OF PESBLOK 00087000
  88. EJECT 00088000
  89. PEXBLOK DSECT 00089000
  90. SPACE 00090000
  91. *** PEXBLOK - PER TRACE ELEMENT CONTROL BLOCK 00091000
  92. * 00092000
  93. * 0 +-----------------------+-----+-----+-----+-----+ 00093000
  94. * | PEXNEXT | I*1 | I*2 | I*3 | I*4 | 00094000
  95. * 8 +-----------------------+-----+-----+-----+-----+ 00095000
  96. * | PEXADDR1 | PEXADDR2 | 00096000
  97. * 10 +-----------------------+-----------------------+ 00097000
  98. * | PEXADDR3 | PEXADDR4 | 00098000
  99. * 18 +-----------------------+-----------------------+ 00099000
  100. * | PEXSTEP | PEXSKIP | 00100000
  101. * 20 +-----------------------+-----------------------+ 00101000
  102. * | PEXSTEPN | PEXSKIPN | 00102000
  103. * 28 +-----------------------+-----------------------+ 00103000
  104. * | PEXINCR | PEXCMND | 00104000
  105. * 30 +-----------------------+-----------------------+ 00105000
  106. * 00106000
  107. *** PEXBLOK - PER TRACE ELEMENT CONTROL BLOCK 00107000
  108. SPACE 00108000
  109. PEXNEXT DS F POINTER TO NEXT BLOK IN CHAIN 00109000
  110. PEXLEN DS X I*1 LENGTH OF BLOK IN DWORDS 00110000
  111. PEXDLEN DS X I*2 LENGTH OF DATA FOR DATA STOP 00111000
  112. PEXFLAGT DS X I*3 ELEMENT TYPE 00112000
  113. PEXFLAGO DS X I*4 OPTION FLAGS 00113000
  114. PEXADDR1 DS F FIRST ADDRESS 00114000
  115. PEXADDR2 DS F SECOND ADDRESS 00115000
  116. PEXADDR3 DS F THIRD ADDRESS 00116000
  117. PEXADDR4 DS F FOURTH ADDRESS 00117000
  118. PEXSTEP DS F DISPLAYS BETWEEN CF MODE 00118000
  119. PEXSKIP DS F DISPLAYS TO SKIP 00119000
  120. PEXSTEPN DS F CURRENT STEP COUNT 00120000
  121. PEXSKIPN DS F CURRENT SKIP COUNT 00121000
  122. PEXINCR DS F INCREMENT SIZE FOR PAGE TRACE 00122000
  123. PEXCMND DS F POINTER TO BUFFER BLOK TO EXECUTE 00123000
  124. PEXDATA DS 0C START OF DATA FOR DATA STOPS 00124000
  125. PEXSIZE EQU (*-PEXBLOK+7)/8 LENGTH OF PEXBLOK (PEXDLEN=0) 00125000
  126. SPACE 00126000
  127. * REDEFINITION FOR GREG STOP 00127000
  128. SPACE 00128000
  129. ORG PEXINCR 00129000
  130. PEXGREG DS H GENERAL REGISTER FLAGS 00130000
  131. PEXGSUC DS H REGISTERS TO DISPLAY THIS TIME 00131000
  132. SPACE 00132000
  133. * BITS DEFINED IN PEXFLAGT 00133000
  134. PEXBR EQU X'80' BRANCH ELEMENT 00134000
  135. PEXIFET EQU X'40' IFETCH ELEMENT 00135000
  136. PEXST EQU X'20' STORAGE ALTERATION ELEMENT 00136000
  137. PEXGPR EQU X'10' GEN REG ALTERATON ELEMENT 00137000
  138. PEXBRTB EQU X'08'+PEXBR BRANCH TRACEBACK ELEMENT 00138000
  139. PEXPGT EQU X'04'+PEXIFET PAGE TRACE ELEMENT 00139000
  140. PEXMASK EQU X'02'+PEXST BIT ALTERATION 00140000
  141. SPACE 00141000
  142. * BITS DEFINED IN PEXFLAGO 00142000
  143. PEXRUN EQU X'80' RUN OPTION ON 00143000
  144. PEXPRINT EQU X'40' OUTPUT TO GO TO PRINTER 00144000
  145. PEXTERM EQU X'20' OUTPUT TO GO TO TERMINAL 00145000
  146. PEXDATAE EQU X'10' FOR DATA STOP, DATA EQ AT LAST CHECK 00146000
  147. PEXDATAI EQU X'08' DATA INVALID FOR MASK TYPE DATA STOP 00147000
  148. PEXSUCC EQU X'04' SUCCESFUL AT LAST EVENT (ONLY IN DMKPER) 00148000
  149. EJECT 00149000
  150. POP PRINT 00150000
  151. SPACE 00151000
ibm/vm370-lib/copy/perbloks.copy_src.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator