         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.section	.rodata.str1.8,"aMS",@progbits,1
				.align 8
		.LC1:
				.asciz	"Illegal cycle H = I,  -1, K"
				.align 8
		.LC2:
				.asciz	"Illegal cycle H = I,  -1, 1"
				.section	".rodata"
		.LC0:
				.byte	20
				.asciz	"test-new/test169.imp"
				.skip	234
				.section	".text"
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -3008, %sp
		.LVL1:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    2   %integer h, i, j, k
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
		.LDL1:
		.LDL2:
		.LDL3:
		.LDL4:
		.LBB43:
    3   i = 1; j = 2; k = 3
    4   %cycle h = i,j,k
    5   %repeat
    6   %cycle h = i,1,k
    7   %repeat
    8   %cycle h = i,-1,k
    9   %repeat
   10   %cycle h = 1,1,3
				sethi	%hi(_imp_current_file), %g1
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,pn	%o1, .L2
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 503, %o0
		.LVL3:
				sethi	%hi(_imp_current_line), %g1
		.L17:
				lduw	[%g1+%lo(_imp_current_line)], %i5
				cmp	%i5, 0
				move	%icc, 10, %i5
				sethi	%hi(.LC1), %o1
				or	%o1, %lo(.LC1), %o1
				call	_imp_c2istr, 0
				 add	%fp, 759, %o0
		.LVL4:
				mov	256, %o2
				add	%fp, 503, %o1
				call	memcpy, 0
				 add	%fp, -529, %o0
		.LVL5:
				mov	256, %o2
				add	%fp, 759, %o1
				call	memcpy, 0
				 add	%fp, -785, %o0
		.LVL6:
				mov	0, %o5
				mov	1, %o4
				mov	5, %o3
				add	%fp, -785, %o2
				sra	%i5, 0, %o1
				call	_signal_event, 0
				 add	%fp, -529, %o0
		.LVL7:
				mov	-1, %g1
		.LVL8:
		.LDL5:
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL22:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, -265, %o0
		.LVL23:
		.LBE44:
				mov	256, %o2
				add	%fp, -265, %o1
				call	memcpy, 0
				 add	%fp, 503, %o0
		.LVL24:
		.LBE51:
				ba,pt	%xcc, .L17
				 sethi	%hi(_imp_current_line), %g1
		.LVL25:
		.L6:
		.LBB52:
		.LBB46:
   11   %repeat
   12   %cycle h = 3,-1,1
   13   %repeat
				addcc	%g1, -1, %g1
		.LVL9:
		.L20:
				bne,pt	%icc, .L20
				 addcc	%g1, -1, %g1
		.LDL6:
		.LDL7:
		.LDL8:
		.LDL9:
		.LDL10:
		.LDL11:
		.LDL12:
		.LDL13:
		.LDL14:
		.LDL15:
		.LVL10:
		.LDL16:
		.LBE43:
		.LBB45:
   14   %cycle h = 1,1,k
   15   %repeat
   16   %cycle h = k,-1,1
   17   %repeat
   18   %cycle h = i,1,3
   19   %repeat
   20   %cycle h = i,-1,1
   21   %repeat
   22   %cycle h = 1,i,3
				sethi	%hi(_imp_current_file), %g1
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,pn	%o1, .L6
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 1015, %o0
		.LVL11:
				sethi	%hi(_imp_current_line), %g1
		.L18:
				lduw	[%g1+%lo(_imp_current_line)], %i5
				cmp	%i5, 0
				move	%icc, 22, %i5
				sethi	%hi(.LC2), %o1
				or	%o1, %lo(.LC2), %o1
				call	_imp_c2istr, 0
				 add	%fp, 1271, %o0
		.LVL12:
				mov	256, %o2
				add	%fp, 1015, %o1
				call	memcpy, 0
				 add	%fp, -785, %o0
		.LVL13:
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 add	%fp, -529, %o0
		.LVL14:
				mov	0, %o5
				mov	1, %o4
				mov	5, %o3
				add	%fp, -529, %o2
				sra	%i5, 0, %o1
				call	_signal_event, 0
				 add	%fp, -785, %o0
		.LVL15:
		.LDL17:
		.LDL18:
		.LDL19:
		.LDL20:
		.LDL21:
		.LDL22:
		.LDL23:
		.LDL24:
		.LBE45:
		.LBB47:
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL26:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, -9, %o0
		.LVL27:
		.LBE46:
				mov	256, %o2
				add	%fp, -9, %o1
				call	memcpy, 0
				 add	%fp, 1015, %o0
		.LVL28:
		.LBE52:
				ba,pt	%xcc, .L18
				 sethi	%hi(_imp_current_line), %g1
		.LVL29:
		.L9:
		.LBB53:
		.LBB48:
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL30:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 247, %o0
		.LVL31:
		.LBE48:
				mov	256, %o2
				add	%fp, 247, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL32:
		.LBE53:
				ba,pt	%xcc, .L19
				 sethi	%hi(_imp_current_line), %g1
		.LFE185:
		.Letext0:
   23   %repeat
   24   %cycle h = 1,i,k
   25   %repeat
   26   %cycle h = i,j,3
   27   %repeat
   28   %cycle h = i,-1,1
   29   %repeat
   30   %cycle h = 1,i,3
				sethi	%hi(_imp_current_file), %g1
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,a,pn %o1, .L9
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 1527, %o0
		.LVL16:
				sethi	%hi(_imp_current_line), %g1
		.L19:
				lduw	[%g1+%lo(_imp_current_line)], %i5
				cmp	%i5, 0
				move	%icc, 30, %i5
				sethi	%hi(.LC2), %o1
				or	%o1, %lo(.LC2), %o1
				call	_imp_c2istr, 0
				 add	%fp, 1783, %o0
		.LVL17:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, -785, %o0
		.LVL18:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, -529, %o0
		.LVL19:
				mov	0, %o5
				mov	1, %o4
				mov	5, %o3
				add	%fp, -529, %o2
				sra	%i5, 0, %o1
				call	_signal_event, 0
				 add	%fp, -785, %o0
		.LVL20:
		.LDL25:
		.LDL26:
		.LDL27:
		.LDL28:
		.LDL29:
		.LDL30:
		.LBE47:
		.LBB49:
		.LBB50:
				call	exit, 0
				 mov	0, %o0
		.LVL21:
		.L2:
		.LBE50:
		.LBE49:
		.LBB51:
		.LBB44:
   31   %repeat
   32   i = -1
   33   %cycle h = 3,i,1
   34   %repeat
   35 %endofprogram
   37 Statements compiled
