
             Edinburgh IMP77 Compiler - Version 8.4


        LANG 0000
        PUSHI #0x00000000
        DEF V_0001 NIL  record, name, format=0, constant
        INIT 1
        DEF V_0002 REM  integer, function, format=1, prim-spec-indirect
        START
        DEF V_0003 P  integer, simple, format=1, 0
        DEF V_0004 Q  integer, simple, format=1, 0
        FINISH
        DEF V_0003 FLOAT  real, function, format=1, prim-spec-indirect
        START
        DEF V_0004 N  integer, simple, format=1, 0
        FINISH
        DEF V_0004 TOSTRING  string, function, format=1, prim-spec-indirect
        START
        DEF V_0005 C  integer, simple, format=1, 0
        FINISH
        DEF V_0005 ADDR  integer, function, format=1, prim-spec-indirect
        START
        DEF V_0006 P  type=0, name, format=0, 0
        FINISH
        DEF V_0006 INTEGER  integer, map, format=1, prim-spec
        START
        DEF V_0007 N  integer, simple, format=1, 0
        FINISH
        DEF V_0007 BYTEINTEGER  byte-integer, map, format=2, prim-spec
        START
        DEF V_0008 N  integer, simple, format=1, 0
        FINISH
        DEF V_0008 STRING  string, map, format=0, prim-spec
        START
        DEF V_0009 N  integer, simple, format=1, 0
        FINISH
        DEF V_0009 RECORD  record, map, format=0, prim-spec
        START
        DEF V_000a N  integer, simple, format=1, 0
        FINISH
        DEF V_000a REAL  real, map, format=1, prim-spec
        START
        DEF V_000b N  integer, simple, format=1, 0
        FINISH
        DEF V_000b LONGREAL  long-real, map, format=4, prim-spec
        START
        DEF V_000c N  integer, simple, format=1, 0
        FINISH
        DEF V_000c LENGTH  byte-integer, map, format=2, prim-spec
        START
        DEF V_000d S  string, simple, format=255, 0
        FINISH
        DEF V_000d CHARNO  byte-integer, map, format=2, prim-spec
        START
        DEF V_000e S  string, simple, format=255, 0
        DEF V_000f N  integer, simple, format=1, 0
        FINISH
        DEF V_000e INT  integer, function, format=1, prim-spec-indirect
        START
        DEF V_000f R  long-real, simple, format=4, 0
        FINISH
        DEF V_000f SHORTINTEGER  short-integer, map, format=3, prim-spec
        START
        DEF V_0010 N  integer, simple, format=1, 0
        FINISH
        DEF V_0010 TYPEOF  integer, function, format=1, external-spec-indirect
        START
        DEF V_0011 N  type=0, name, format=0, 0
        FINISH
        DEF V_0011 SIZEOF  integer, function, format=1, external-spec-indirect
        START
        DEF V_0012 N  type=0, name, format=0, 0
        FINISH
        DEF V_0012 TYPENAME  string, function, format=255, external-spec-indirect
        START
        DEF V_0013 T  integer, simple, format=1, 0
        FINISH
        DEF V_0013 ARRAYENTRYSIZE  integer, function, format=1, external-spec-indirect
        START
        DEF V_0014 N  type=0, name, format=0, 0
        FINISH
        DEF V_0014 ARRAYENTRYTYPE  integer, function, format=1, external-spec-indirect
        START
        DEF V_0015 N  type=0, name, format=0, 0
        FINISH
        DEF V_0015 ARRAYDIMENSIONS  integer, function, format=1, external-spec-indirect
        START
        DEF V_0016 N  type=0, name, format=0, 0
        FINISH
        DEF V_0016 ARRAYLOWERBOUND  integer, function, format=1, external-spec-indirect
        START
        DEF V_0017 N  type=0, name, format=0, 0
        DEF V_0018 INDEX  integer, simple, format=1, 0
        FINISH
        DEF V_0017 ARRAYUPPERBOUND  integer, function, format=1, external-spec-indirect
        START
        DEF V_0018 N  type=0, name, format=0, 0
        DEF V_0019 INDEX  integer, simple, format=1, 0
        FINISH
        DEF V_0018 EVENTFM  record, record-format, format=24, 0
        START
        DEF V_0000 EVENT  integer, simple, format=1, 0
        DEF V_0000 SUB  integer, simple, format=1, 0
        DEF V_0000 INFO  integer, simple, format=1, 0
        DEF V_0000 LINE  integer, simple, format=1, 0
        DEF V_0000 MESSAGE  string, simple, format=255, 0
        FINISH
        DEF V_0019 EVENT  record, map, format=24, external-spec
        START
        FINISH
        DEF V_001a INPUTSTREAM  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_001b INPUTNAME  string, function, format=255, external-spec-indirect
        START
        FINISH
        DEF V_001c SELECTINPUT  type=0, routine, format=0, external-spec
        START
        DEF V_001d N  integer, simple, format=1, 0
        FINISH
        DEF V_001d OPENINPUT  type=0, routine, format=0, external-spec
        START
        DEF V_001e N  integer, simple, format=1, 0
        DEF V_001f FD  string, simple, format=255, 0
        FINISH
        DEF V_001e OPENBINARYINPUT  type=0, routine, format=0, external-spec
        START
        DEF V_001f N  integer, simple, format=1, 0
        DEF V_0020 FD  string, simple, format=255, 0
        FINISH
        DEF V_001f CLOSEINPUT  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0020 RESETINPUT  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0021 SEEKINPUT  type=0, routine, format=0, external-spec
        START
        DEF V_0022 DISPLACEMENT  integer, simple, format=1, 0
        DEF V_0023 STARTPOINT  integer, simple, format=1, 0
        FINISH
        DEF V_0022 TELLINPUT  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_0023 READSYMBOL  type=0, routine, format=0, external-spec
        START
        DEF V_0024 P  type=0, name, format=0, 0
        FINISH
        DEF V_0024 NEXTSYMBOL  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_0025 READBUFFER  integer, function, format=1, external-spec-indirect
        START
        DEF V_0026 PTR  type=0, name, format=0, 0
        DEF V_0027 COUNT  integer, simple, format=1, 0
        FINISH
        DEF V_0026 PROMPT  type=0, routine, format=0, external-spec
        START
        DEF V_0027 S  string, simple, format=31, 0
        FINISH
        DEF V_0027 CURRENTPROMPT  string, function, format=31, external-spec-indirect
        START
        FINISH
        DEF V_0028 GETMAXINPUTSTREAM  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_0029 FILEEND  type=0, predicate, format=0, external-spec
        START
        FINISH
        DEF V_002a ALLOWEOFEVENT  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_002b BLOCKEOFEVENT  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_002c OUTPUTSTREAM  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_002d OUTPUTNAME  string, function, format=255, external-spec-indirect
        START
        FINISH
        DEF V_002e SELECTOUTPUT  type=0, routine, format=0, external-spec
        START
        DEF V_002f N  integer, simple, format=1, 0
        FINISH
        DEF V_002f OPENOUTPUT  type=0, routine, format=0, external-spec
        START
        DEF V_0030 N  integer, simple, format=1, 0
        DEF V_0031 FD  string, simple, format=255, 0
        FINISH
        DEF V_0030 OPENBINARYOUTPUT  type=0, routine, format=0, external-spec
        START
        DEF V_0031 N  integer, simple, format=1, 0
        DEF V_0032 FD  string, simple, format=255, 0
        FINISH
        DEF V_0031 CLOSEOUTPUT  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0032 RESETOUTPUT  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0033 SEEKOUTPUT  type=0, routine, format=0, external-spec
        START
        DEF V_0034 DISPLACEMENT  integer, simple, format=1, 0
        DEF V_0035 STARTPOINT  integer, simple, format=1, 0
        FINISH
        DEF V_0034 TELLOUTPUT  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_0035 PRINTSYMBOL  type=0, routine, format=0, external-spec
        START
        DEF V_0036 SYM  integer, simple, format=1, 0
        FINISH
        DEF V_0036 WRITEBUFFER  integer, function, format=1, external-spec-indirect
        START
        DEF V_0037 PTR  type=0, name, format=0, 0
        DEF V_0038 COUNT  integer, simple, format=1, 0
        FINISH
        DEF V_0037 DEBUGSYMBOL  type=0, routine, format=0, external-spec
        START
        DEF V_0038 SYM  integer, simple, format=1, 0
        FINISH
        DEF V_0038 DEBUGREAL  type=0, routine, format=0, external-spec
        START
        DEF V_0039 D  long-real, simple, format=4, 0
        FINISH
        DEF V_0039 GETMAXOUTPUTSTREAM  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_003a FLUSHOUTPUT  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_003b SKIPSYMBOL  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_003c PRINTSTRING  type=0, routine, format=0, external-spec
        START
        DEF V_003d S  string, simple, format=255, 0
        FINISH
        DEF V_003d DEBUGSTRING  type=0, routine, format=0, external-spec
        START
        DEF V_003e S  string, simple, format=255, 0
        FINISH
        DEF V_003e DEBUGNEWLINE  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_003f DEBUGSPACE  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0040 DEBUGSPACES  type=0, routine, format=0, external-spec
        START
        DEF V_0041 COUNT  integer, simple, format=1, 0
        FINISH
        DEF V_0041 WRITE  type=0, routine, format=0, external-spec
        START
        DEF V_0042 V  integer, simple, format=1, 0
        DEF V_0043 P  integer, simple, format=1, 0
        FINISH
        DEF V_0042 SPACE  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0043 SPACES  type=0, routine, format=0, external-spec
        START
        DEF V_0044 N  integer, simple, format=1, 0
        FINISH
        DEF V_0044 NEWLINE  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0045 NEWLINES  type=0, routine, format=0, external-spec
        START
        DEF V_0046 N  integer, simple, format=1, 0
        FINISH
        DEF V_0046 PRINTFL  type=0, routine, format=0, external-spec
        START
        DEF V_0047 F  long-real, simple, format=4, 0
        DEF V_0048 DP  integer, simple, format=1, 0
        FINISH
        DEF V_0047 PRINTREAL  type=0, routine, format=0, external-spec
        START
        DEF V_0048 F  long-real, simple, format=4, 0
        DEF V_0049 SF  integer, simple, format=1, 0
        DEF V_004a PLACES  integer, simple, format=1, 0
        FINISH
        DEF V_0048 PRINTFLOAT  type=0, routine, format=0, external-spec
        START
        DEF V_0049 F  long-real, simple, format=4, 0
        DEF V_004a SF  integer, simple, format=1, 0
        FINISH
        DEF V_0049 INTPT  integer, function, format=1, external-spec-indirect
        START
        DEF V_004a R  long-real, simple, format=4, 0
        FINISH
        DEF V_004a TOUPPER  type=0, routine, format=0, external-spec
        START
        DEF V_004b S  string, name, format=0, 0
        FINISH
        DEF V_004b TOLOWER  type=0, routine, format=0, external-spec
        START
        DEF V_004c S  string, name, format=0, 0
        FINISH
        DEF V_004c ITOS  string, function, format=255, external-spec-indirect
        START
        DEF V_004d N  integer, simple, format=1, 0
        DEF V_004e PLACES  integer, simple, format=1, 0
        FINISH
        DEF V_004d FTOS  string, function, format=255, external-spec-indirect
        START
        DEF V_004e F  long-real, simple, format=4, 0
        DEF V_004f SF  integer, simple, format=1, 0
        DEF V_0050 PLACES  integer, simple, format=1, 0
        FINISH
        DEF V_004e FTOSP  string, function, format=255, external-spec-indirect
        START
        DEF V_004f F  long-real, simple, format=4, 0
        DEF V_0050 PLACES  integer, simple, format=1, 0
        FINISH
        DEF V_004f READ  type=0, routine, format=0, external-spec
        START
        DEF V_0050 PTR  type=0, name, format=0, 0
        FINISH
        DEF V_0050 SUBSTRING  string, function, format=255, external-spec-indirect
        START
        DEF V_0051 S  string, simple, format=255, 0
        DEF V_0052 FROM  integer, simple, format=1, 0
        DEF V_0053 TO  integer, simple, format=1, 0
        FINISH
        DEF V_0051 TRIM  string, function, format=255, external-spec-indirect
        START
        DEF V_0052 S  string, simple, format=255, 0
        DEF V_0053 MAX  integer, simple, format=1, 0
        FINISH
        DEF V_0052 SETDEBUG  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0053 CLEARDEBUG  type=0, routine, format=0, external-spec
        START
        FINISH
        DEF V_0054 DEBUGMODE  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_0055 SHOWDEBUG  type=0, predicate, format=0, external-spec
        START
        FINISH
        DEF V_0056 SETDEBUGLEVEL  type=0, routine, format=0, external-spec
        START
        DEF V_0057 LVL  integer, simple, format=1, 0
        FINISH
        DEF V_0057 INT2ASCII  string, function, format=255, external-spec-indirect
        START
        DEF V_0058 NN  integer, simple, format=1, 0
        DEF V_0059 BASE  integer, simple, format=1, 0
        DEF V_005a PLACES  integer, simple, format=1, 0
        FINISH
        DEF V_0058 FORMATNUMBER  string, function, format=255, external-spec-indirect
        START
        DEF V_0059 N  integer, simple, format=1, 0
        DEF V_005a BASE  integer, simple, format=1, 0
        DEF V_005b PLACES  integer, simple, format=1, 0
        FINISH
        DEF V_0059 INT2HEX  string, function, format=255, external-spec-indirect
        START
        DEF V_005a NN  integer, simple, format=1, 0
        DEF V_005b PLACES  integer, simple, format=1, 0
        FINISH
        DEF V_005a INT2BIN  string, function, format=32, external-spec-indirect
        START
        DEF V_005b NN  integer, simple, format=1, 0
        FINISH
        DEF V_005b SHORT2BIN  string, function, format=16, external-spec-indirect
        START
        DEF V_005c NN  short-integer, simple, format=3, 0
        FINISH
        DEF V_005c GETENVCOUNT  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_005d GETENVNAME  string, function, format=255, external-spec-indirect
        START
        DEF V_005e INDEX  integer, simple, format=1, 0
        FINISH
        DEF V_005e GETENV  string, function, format=255, external-spec-indirect
        START
        DEF V_005f INDEX  integer, simple, format=1, 0
        FINISH
        DEF V_005f GETENVINDEX  integer, function, format=1, external-spec-indirect
        START
        DEF V_0060 VARNAME  string, simple, format=255, 0
        FINISH
        DEF V_0060 GETENVASSTRING  string, function, format=255, external-spec-indirect
        START
        DEF V_0061 ENVNAME  string, simple, format=255, 0
        FINISH
        DEF V_0061 GETENVASINTEGER  integer, function, format=1, external-spec-indirect
        START
        DEF V_0062 VARNAME  string, simple, format=255, 0
        FINISH
        DEF V_0062 GETARGCOUNT  integer, function, format=1, external-spec-indirect
        START
        FINISH
        DEF V_0063 GETARG  string, function, format=255, external-spec-indirect
        START
        DEF V_0064 INDEX  integer, simple, format=1, 0
        FINISH
        ALIAS "_imp_cliparam"
        DEF V_0064 CLIPARAM  string, function, format=255, external-spec-indirect
        START
        FINISH
        DEF V_0065 NEW  record, map, format=0, external-spec
        START
        DEF V_0066 TEMPLATE  type=0, name, format=0, 0
        FINISH
        DEF V_0066 DISPOSE  type=0, routine, format=0, external-spec
        START
        DEF V_0067 TEMPLATE  type=0, name, format=0, 0
        FINISH
        DEF V_0067 SQRT  long-real, function, format=4, external-spec-indirect
        START
        DEF V_0068 X  long-real, simple, format=4, 0
        FINISH
        DEF V_0068 PI  long-real, function, format=4, external-spec-indirect
        START
        FINISH
        DEF V_0069 SINE  long-real, function, format=4, external-spec-indirect
        START
        DEF V_006a X  long-real, simple, format=4, 0
        FINISH
        DEF V_006a COSINE  long-real, function, format=4, external-spec-indirect
        START
        DEF V_006b X  long-real, simple, format=4, 0
        FINISH
        DEF V_006b LOG2  long-real, function, format=4, external-spec-indirect
        START
        DEF V_006c X  long-real, simple, format=4, 0
        FINISH
        DEF V_006c LOG  long-real, function, format=4, external-spec-indirect
        START
        DEF V_006d X  long-real, simple, format=4, 0
        FINISH
        DEF V_006d LOG10  long-real, function, format=4, external-spec-indirect
        START
        DEF V_006e X  long-real, simple, format=4, 0
        FINISH
        DEF V_006e EXIT  type=0, routine, format=0, external-spec
        START
        DEF V_006f STATUS  integer, simple, format=1, 0
        FINISH
        LINE 1
     1  %externalroutine toplev
        DEF V_006f TOPLEV  type=0, routine, format=0, external
        START
        FINISH
        LINE 2
     2    %longreal lr1
        DEF V_0070 LR1  long-real, simple, format=4, 0
        LINE 3
     3    %integer i, i1 = 1, i2 = 2, i3 = 3
        DEF V_0071 I  integer, simple, format=1, 0
        DEF V_0072 I1  integer, simple, format=1, 0
        PUSH V_0072
        PUSHI #0x00000001
        ASSVAL
        DEF V_0073 I2  integer, simple, format=1, 0
        PUSH V_0073
        PUSHI #0x00000002
        ASSVAL
        DEF V_0074 I3  integer, simple, format=1, 0
        PUSH V_0074
        PUSHI #0x00000003
        ASSVAL
        LINE 5
     4  
     5    i = i1 %while i2 = i3
        LOCATE L_0003
        PUSH V_0073
        PUSH V_0074
        JUMPIF # L_0004
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        REPEAT L_0003
        LOCATE L_0004
        LINE 6
     6    i = i1 %until i2 = i3
        LOCATE L_0003
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        PUSH V_0073
        PUSH V_0074
        JUMPIF = L_0004
        REPEAT L_0003
        LOCATE L_0004
        LINE 7
     7    i = i1 %for i2 = i3, 1, i1
        PUSH V_0073
        PUSHI #0x00000001
        PUSH V_0072
        PUSH V_0074
        FOR L_0003
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        REPEAT L_0003
        LOCATE L_0004
        LINE 9
     8  
     9    %while i2 = i3 %then i = i1
        LOCATE L_0003
        PUSH V_0073
        PUSH V_0074
        JUMPIF # L_0004
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        REPEAT L_0003
        LOCATE L_0004
        LINE 15
    10    ! ILLEGAL IMP77: %until i2 = i3 %then i = i1
    11  
    12    ! This is legal Imp77 but my parser doesn't accept it.  FIX IT.
    13    !%for i2 = i3, 1, i1 %then i = i1
    14  
    15    %while i1 = i2 %cycle
        LOCATE L_0003
        PUSH V_0072
        PUSH V_0073
        JUMPIF # L_0004
        LINE 16
    16      i = i1
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 17
    17    %repeat
        REPEAT L_0003
        LOCATE L_0004
        LINE 24
    18  
    19    ! ILLEGAL IMP77:
    20    !%until i1 = i2 %cycle
    21    !  i = i1
    22    !%repeat
    23  
    24    %cycle
        LOCATE L_0003
        LINE 25
    25      i = i1
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 26
    26    %repeat %until i1 = i2
        PUSH V_0072
        PUSH V_0073
        JUMPIF = L_0004
        REPEAT L_0003
        LOCATE L_0004
        LINE 28
    27  
    28    %for i2 = i3, 1, i1 %cycle
        PUSH V_0073
        PUSHI #0x00000001
        PUSH V_0072
        PUSH V_0074
        FOR L_0003
        LINE 29
    29      i = i1
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 30
    30    %repeat
        REPEAT L_0003
        LOCATE L_0004
        LINE 32
    31  
    32    %while i1 = i2 %cycle
        LOCATE L_0003
        PUSH V_0072
        PUSH V_0073
        JUMPIF # L_0004
        LINE 33
    33      i = i1
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 34
    34    %repeat;! temp disabled: %until i2 = i3
        REPEAT L_0003
        LOCATE L_0004
        LINE 41
    35  
    36    ! ILLEGAL IMP77:
    37    !%until i1 = i2 %cycle
    38    !  i = i1
    39    !%repeat %until i2 = i3
    40  
    41  lab7:
        LABEL L_0075
        LINE 43
    42  
    43    %for i2 = i3, 1, i1 %cycle
        PUSH V_0073
        PUSHI #0x00000001
        PUSH V_0072
        PUSH V_0074
        FOR L_0003
        LINE 44
    44      i = i1
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 45
    45    %repeat;! temp disabled: %until i2 = i3
        REPEAT L_0003
        LOCATE L_0004
        LINE 50
    46  
    47  
    48  
    49  
    50    i = i1 %and i1 = i2 %while i2 = i3
        LOCATE L_0003
        PUSH V_0073
        PUSH V_0074
        JUMPIF # L_0004
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        REPEAT L_0003
        LOCATE L_0004
        LINE 51
    51    i = i1 %and i1 = i2 %until i2 = i3
        LOCATE L_0003
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        PUSH V_0073
        PUSH V_0074
        JUMPIF = L_0004
        REPEAT L_0003
        LOCATE L_0004
        LINE 53
    52  
    53  lab3:
        LABEL L_0076
        LINE 55
    54  
    55    i = i1 %and i1 = i2 %for i2 = i3, 1, i1
        PUSH V_0073
        PUSHI #0x00000001
        PUSH V_0072
        PUSH V_0074
        FOR L_0003
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        REPEAT L_0003
        LOCATE L_0004
        LINE 57
    56  
    57  lab4:
        LABEL L_0077
        LINE 59
    58  
    59    %while i2 = i3 %then i = i1 %and i1 = i2
        LOCATE L_0003
        PUSH V_0073
        PUSH V_0074
        JUMPIF # L_0004
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        REPEAT L_0003
        LOCATE L_0004
        LINE 62
    60    ! ILLEGAL IMP77: %until i2 = i3 %then i = i1 %and i1 = i2
    61  
    62  lab5:
        LABEL L_0078
        LINE 67
    63  
    64    ! This is legal Imp77 but my parser doesn't accept it.  FIX IT.
    65    !%for i2 = i3, 1, i1 %then i = i1 %and i1 = i2
    66  
    67    %while i1 = i2 %cycle
        LOCATE L_0003
        PUSH V_0072
        PUSH V_0073
        JUMPIF # L_0004
        LINE 68
    68      i = i1 ; i1 = i2
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 68
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        LINE 69
    69    %repeat
        REPEAT L_0003
        LOCATE L_0004
        LINE 76
    70  
    71    ! ILLEGAL IMP77:
    72    !%until i1 = i2 %cycle
    73    !  i = i1 ; i1 = i2
    74    !%repeat
    75  
    76  lab6:
        LABEL L_0079
        LINE 78
    77  
    78    %cycle
        LOCATE L_0003
        LINE 79
    79      i = i1 ; i1 = i2
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 79
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        LINE 80
    80    %repeat %until i1 = i2
        PUSH V_0072
        PUSH V_0073
        JUMPIF = L_0004
        REPEAT L_0003
        LOCATE L_0004
        LINE 82
    81  
    82  lab2:
        LABEL L_007a
        LINE 84
    83  
    84    %for i2 = i3, 1, i1 %cycle
        PUSH V_0073
        PUSHI #0x00000001
        PUSH V_0072
        PUSH V_0074
        FOR L_0003
        LINE 85
    85      i = i1 ; i1 = i2
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 85
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        LINE 86
    86    %repeat
        REPEAT L_0003
        LOCATE L_0004
        LINE 88
    87  
    88    %while i1 = i2 %cycle
        LOCATE L_0003
        PUSH V_0072
        PUSH V_0073
        JUMPIF # L_0004
        LINE 89
    89      i = i1 ; i1 = i2
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 89
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        LINE 90
    90    %repeat;! temp disabled: %until i2 = i3
        REPEAT L_0003
        LOCATE L_0004
        LINE 97
    91  
    92    ! ILLEGAL IMP77:
    93    !%until i1 = i2 %cycle
    94    !  i = i1 ; i1 = i2
    95    !%repeat %until i2 = i3
    96  
    97  lab1:
        LABEL L_007b
        LINE 99
    98  
    99    %for i2 = i3, 1, i1 %cycle
        PUSH V_0073
        PUSHI #0x00000001
        PUSH V_0072
        PUSH V_0074
        FOR L_0003
        LINE 100
   100      i = i1 ; i1 = i2
        PUSH V_0071
        PUSH V_0072
        ASSVAL
        LINE 100
        PUSH V_0072
        PUSH V_0073
        ASSVAL
        LINE 101
   101    %repeat;! temp disabled: %until i2 = i3
        REPEAT L_0003
        LOCATE L_0004
        LINE 103
   102  
   103  %end
        END
        LINE 104
   104  %endoffile
        END
