         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.globl	next_free_bound_index
				.bss
				.align 4
		next_free_bound_index:
				.zero	4
				.comm	_lb,384,32
				.comm	_ub,384,32
		READSYM.6025:
		.LFB190:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%ebx
				pushl	%ecx
				subl	$380, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -380(%ebp)
				movl	%gs:20, %edi
				movl	%edi, -28(%ebp)
				xorl	%edi, %edi
				leal	8(%ebp), %edx
				movl	%edx, -364(%ebp)
				subl	$8, %esp
				pushl	-380(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   %routine read sym
				pushl	%ebp
				movl	%esp, %ebp
				subl	$4, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	%ecx, -4(%ebp)
    3   %end
				nop
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
    4   %integer bp
    5   %integer sym, symtype
    6   %byteintegerarray buff(0:255)
				leal	-344(%ebp), %edx
				movl	$0, %eax
				movl	$15, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-284(%ebp), %eax
				movl	%eax, -344(%ebp)
				movl	$1, -340(%ebp)
				movl	$1, -336(%ebp)
				movl	$255, -328(%ebp)
		.L4:
    7
    8       %CYCLE
    9         bp=bp+1 %AND buff(bp)=sym
				addl	$1, -360(%ebp)
				movl	-356(%ebp), %eax
				movl	%eax, %ecx
				leal	-284(%ebp), %edx
				movl	-360(%ebp), %eax
				addl	%edx, %eax
				movb	%cl, (%eax)
   10         read sym
				leal	-364(%ebp), %eax
				movl	%eax, %ecx
				call	READSYM.6025
   11         %EXIT %IF symtype >= 0;                !pull in letters and digits
				cmpl	$0, -352(%ebp)
				jns	.L9
				nop
		.L6:
				nop
		.L7:
				movl	$0, -348(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-348(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.LFE189:
				.section	.text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
				.globl	__x86.get_pc_thunk.ax
				.hidden	__x86.get_pc_thunk.ax
		__x86.get_pc_thunk.ax:
		.LFB191:
				movl	(%esp), %eax
				ret
		.LFE191:
				.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:
		.LFB192:
				movl	(%esp), %ebx
				ret
		.LFE192:
		.Letext0:
   12       %REPEAT
				jmp	.L4
		.L9:
   13
   14 !      for (;;) {
   15 !        { BP = BP + 1; BUFF[BP] = SYM; }
   16 !        READSYM();
   17 !        if (SYMTYPE >= 0) break;
   18 !      }
   19
   20 %endofprogram
   12 Statements compiled
