perm filename CYCOMF.LAP[1,LMM] blob
sn#034831 filedate 1973-04-12 generic text, type T, neo UTF8
(LAP ORDPAIR SUBR)
(PUSH P 1)
(PUSH P 2)
(CALL 2 (E LEQ))
(JUMPE 1 TAG2)
(MOVE 2 0 P)
(MOVE 1 -1 P)
(CALL 2 (E CONS))
(JRST 0 TAG1)
TAG2 (MOVE 2 -1 P)
(MOVE 1 0 P)
(CALL 2 (E CONS))
TAG3
TAG1 (SUB P (C 0 0 2 2))
(POPJ P)
NIL
(LAP EDGEMARK SUBR)
(PUSH P 1)
(HLRZ@ 1 1)
(CALL 1 (E NODEMARK))
(PUSH P 1)
(HRRZ@ 1 -1 P)
(CALL 1 (E NODEMARK))
(MOVE 2 1)
(POP P 1)
(SUB P (C 0 0 1 1))
(JCALL 2 (E ORDPAIR))
NIL
(LAP LABEL1C SUBR)
(PUSH P 1)
(PUSH P 2)
(PUSH P 3)
(CAIE 2 (QUOTE 0))
(JRST 0 TAG2)
(MOVE 2 3)
(CALL 2 (E CONS))
(MOVEI 2 (QUOTE NIL))
(CALL 2 (E XCONS))
(CALL 1 (E NCONS))
(JRST 0 TAG1)
TAG2 (CALL 1 (E SIZE))
(MOVE 2 -1 P)
(CALL 2 (E EQUAL))
(JUMPE 1 TAG3)
(MOVE 2 0 P)
(MOVEI 1 (QUOTE NIL))
(CALL 2 (E CONS))
(MOVE 2 -2 P)
(CALL 2 (E XCONS))
(CALL 1 (E NCONS))
(JRST 0 TAG1)
TAG3 (HLRZ@ 1 -2 P)
(CAIE 1 (QUOTE NODES))
(JRST 0 TAG4)
(MOVE 3 0 P)
(MOVE 2 -1 P)
(HRRZ@ 1 -2 P)
(CALL 3 (E LABELN))
(JRST 0 TAG1)
TAG4 (HLRZ@ 1 -2 P)
(CAIE 1 (QUOTE EDGES))
(JRST 0 TAG5)
(MOVE 3 0 P)
(MOVE 2 -1 P)
(HRRZ@ 1 -2 P)
(CALL 3 (E LABELE))
(JRST 0 TAG1)
TAG5 (HLRZ@ 1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