User Tools

Site Tools


ibm:vm370-lib:rscs:gentagq.macro_src

GENTAGQ Source

References

Source Listing

GENTAGQ.MACRO.txt
  1. MACRO 00001000
  2. &LABEL GENTAGQ &NUM=32 00002000
  3. LCLA &COUNT 00003000
  4. AIF (&NUM LT 32).TOOLO 00004000
  5. AIF (&NUM GT 512).TOOHI 00005000
  6. &COUNT SETA 1 00006000
  7. SYSTAGS DC 0F'0' 00007000
  8. .NEXT ANOP 00008000
  9. DC A(SYSTAGS+4*TAGWORDS*&COUNT) ADDRESS OF NEXT ELEMENT 00009000
  10. DC (TAGWORDS-1)A(0) CONTENTS OF THIS ELEMENT 00010000
  11. SPACE 00011000
  12. &COUNT SETA &COUNT+1 00012000
  13. AIF (&COUNT LT &NUM).NEXT 00013000
  14. DC A(0) LAST ELEMENT IN QUEUE 00014000
  15. DC (TAGWORDS-1)A(0) CONTENTS OF THIS ELEMENT 00015000
  16. MEXIT 00016000
  17. .TOOLO ANOP 00017000
  18. MNOTE 16,'NUMBER OF TAG ELEMENTS MUST BE AT LEAST 32' 00018000
  19. MEXIT 00019000
  20. .TOOHI ANOP 00020000
  21. MNOTE 16,'NUMBER OF TAG ELEMENTS MUST BE NO GREATER THAN 512' 00021000
  22. MEND 00022000
ibm/vm370-lib/rscs/gentagq.macro_src.txt ยท Last modified: 2023/08/06 13:39 by Site Administrator