         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
				.align 4
		.LC1:
				.string	"Illegal cycle I = 1, INC, FINAL"
				.align 32
		.LC0:
				.byte	18
				.string	"test-in/forinc.imp"
				.zero	236
				.globl	main
		main:
		.LFB189:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%esi
				pushl	%ebx
				pushl	%ecx
				subl	$824, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -828(%ebp)
				movl	%gs:20, %esi
				movl	%esi, -28(%ebp)
				xorl	%esi, %esi
				subl	$8, %esp
				pushl	-828(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   %integer I, INC = 2, FINAL = 17
				movl	$2, -820(%ebp)
				movl	$17, -816(%ebp)
		.LBB9:
    3   %for I = 1, INC, FINAL %cycle
				movl	-820(%ebp), %eax
				movl	%eax, -812(%ebp)
				movl	-816(%ebp), %eax
				movl	%eax, -808(%ebp)
		.LBB10:
				movl	-808(%ebp), %eax
				subl	$1, %eax
				movl	%eax, -804(%ebp)
				movl	-804(%ebp), %eax
				xorl	-812(%ebp), %eax
				testl	%eax, %eax
				js	.L2
				cmpl	$1, -812(%ebp)
				je	.L3
				cmpl	$-1, -812(%ebp)
				je	.L3
				movl	-804(%ebp), %eax
				cltd
				idivl	-812(%ebp)
				movl	%edx, %eax
				testl	%eax, %eax
				je	.L3
		.L2:
				movl	$1, %eax
				jmp	.L4
		.L3:
				movl	$0, %eax
		.L4:
		.LBE10:
				testl	%eax, %eax
				je	.L5
				leal	-540(%ebp), %eax
				subl	$8, %esp
				leal	.LC1@GOTOFF(%ebx), %edx
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L6
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -832(%ebp)
				jmp	.L7
		.L6:
				movl	$3, -832(%ebp)
		.L7:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L8
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %edx
				leal	-284(%ebp), %eax
				subl	$8, %esp
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				jmp	.L9
		.L8:
		.LBB11:
				leal	-284(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-796(%ebp), %eax
				leal	-284(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE11:
				leal	-284(%ebp), %eax
				leal	-796(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L9:
				pushl	$0
				pushl	$1
				pushl	$5
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-540(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				pushl	-832(%ebp)
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-284(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				call	_signal_event@PLT
				addl	$528, %esp
		.L5:
				movl	$1, %eax
				subl	-812(%ebp), %eax
				movl	%eax, -824(%ebp)
		.L10:
				movl	-824(%ebp), %eax
				cmpl	-808(%ebp), %eax
				je	.L15
				movl	-812(%ebp), %eax
				addl	%eax, -824(%ebp)
				nop
		.L12:
				movl	$0, -800(%ebp)
		.LBE9:
		.LBB14:
		.LBB15:
				subl	$12, %esp
				pushl	-800(%ebp)
				call	exit@PLT
		.LBE15:
		.LBE14:
		.LFE189:
				.section	.text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
				.globl	__x86.get_pc_thunk.bx
				.hidden	__x86.get_pc_thunk.bx
		__x86.get_pc_thunk.bx:
		.LFB190:
				movl	(%esp), %ebx
				ret
		.LFE190:
		.Letext0:
    4     write(FINAL-INC, -1); newline
				movl	-816(%ebp), %eax
				subl	-820(%ebp), %eax
				subl	$8, %esp
				pushl	$-1
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB12:
		.LBB13:
				call	_imp_newline@PLT
		.LBE13:
		.LBE12:
    5     INC = 0 ; FINAL = FINAL-1
				movl	$0, -820(%ebp)
				subl	$1, -816(%ebp)
    6   %repeat
				jmp	.L10
		.L15:
    7 %endofprogram
    9 Statements compiled
