perm filename CYCDR1.LAP[1,LMM] blob
sn#033098 filedate 1973-04-03 generic text, type T, neo UTF8
(ARRAY NODEARRAY T 45)
(ARRAY CONNARRAY T 25)
(ARRAY TMPARRAY T 25)
(LAP LAYOUT SUBR)
(PUSH P 1)
(PUSH P (C 0 0 (QUOTE 1) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG1 (MOVEI 2 (QUOTE 40))
(MOVE 1 -1 P)
(CALL 2 (E *GREAT))
(JUMPN 1 TAG4)
(MOVE 1 -1 P)
(CALL 1 (E NODEARRAY))
(MOVEI 1 (QUOTE 0))
(PUSHJ P NSTR)
TAG2
TAG3 (MOVEI 2 (QUOTE 1))
(MOVE 1 -1 P)
(CALL 2 (E *PLUS))
(MOVEM 1 -1 P)
(JRST 0 TAG1)
TAG4 (MOVE 1 0 P)
(SUB P (C 0 0 2 2))
(PUSH P (C 0 0 (QUOTE 1) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG5 (MOVEI 2 (QUOTE 20))
(MOVE 1 -1 P)
(CALL 2 (E *GREAT))
(JUMPN 1 TAG10)
(MOVE 1 -1 P)
(CALL 1 (E CONNARRAY))
(MOVEI 1 (QUOTE NIL))
(PUSHJ P NSTR)
TAG6
TAG7 (MOVEI 2 (QUOTE 1))
(MOVE 1 -1 P)
(CALL 2 (E *PLUS))
(MOVEM 1 -1 P)
(JRST 0 TAG5)
TAG10 (MOVE 1 0 P)
(SUB P (C 0 0 2 2))
(MOVE 1 0 P)
(CALL 1 (E ANALIN))
(CALL 0 (E SORTLN))
(MOVEI 2 (QUOTE NIL))
(MOVEI 1 (QUOTE 1))
(CALL 2 (E FINDNDS))
(SUB P (C 0 0 1 1))
(JCALL 0 (E OUTNDS))
NIL
(LAP ANALIN SUBR)
(PUSH P 1)
(HLRZ@ 1 1)
(MOVEM 1 (SPECIAL TITLE))
(CLEARM 1 (SPECIAL LINE))
(CLEARM 1 (SPECIAL LABELL))
(HRRZ@ 1 0 P)
(CALL 1 (E L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 P)
(PUSH P 1)
(HRRZ@ 1 -7 P)
(HLRZ@ 1 1)
(CALL 1 (E ADD1))
(HRLM@ 1 0 P)
(SUB P (C 0 0 1 1))
TAG30
TAG26
TAG25 (MOVE 1 -3 P)
(CALL 1 (E CONNARRAY))
(MOVE 2 1)
(MOVE 1 -2 P)
(CALL 2 (E MEMBER))
(JUMPN 1 TAG32)
(MOVE 1 -3 P)
(CALL 1 (E CONNARRAY))
(MOVE 2 -2 P)
(CALL 2 (E XCONS))
(PUSH P 1)
(MOVE 1 -4 P)
(CALL 1 (E CONNARRAY))
(POP P 1)
(PUSHJ P NSTR)
(JUMPN 1 TAG32)
TAG32
TAG3
TAG4 (HRRZ@ 1 -1 P)
(MOVEM 1 -1 P)
(JRST 0 TAG2)
TAG5
TAG6
TAG7
TAG10
TAG11 (HRRZ@ 1 -5 P)
(MOVEM 1 -5 P)
(JRST 0 TAG1)
TAG12 (MOVE 1 0 P)
(SUB P (C 0 0 6 6))
(MOVE 1 (SPECIAL LINE))
(CALL 1 (E LENGTH))
(MOVEM 1 (SPECIAL LLN))
(MOVE 1 (SPECIAL LINE))
(SUB P (C 0 0 2 2))
(POPJ P)
NIL
(LAP SORTLN SUBR)
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
(PUSH P (C 0 0 (QUOTE 1) 0))
(PUSH P (C 0 0 (QUOTE NIL) 0))
TAG1 (MOVE 2 (SPECIAL NMX))
(MOVE 1 -1 P)
(CALL 2 (E *GREAT))
(JUMPN 1 TAG4)
(MOVE 1 -1 P)
(CALL 1 (E CONNARRAY))
(CALL 1 (E LENGTH))
(PUSH P 1)
(MOVE 1 -2 P)
(CALL 1 (E TMPARRAY))
(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