         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
				.globl	main
		main:
		.LFB189:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				pushl	%ecx
				subl	$16, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				subl	$8, %esp
				pushl	4(%eax)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   ! This shows that the icode does not distinguish the two declarations,
    3   ! and the initialisation relies on finding the declaration on the stack.
    4   ! I suspect we can get by with having a single flex array for the
    5   ! current declarations initial values.
    6   !
    7   ! When we pop the stack at codegen time, we'll either hit an INIT
    8   ! first (at which point we save them up, in reverse order) or
    9   ! we hit the $DEF and there's no initialisation needed.
   10
   11   %ownintegerarray one(0:3)
   12
   13   %ownintegerarray two(0:3) = 1, 2, 3, 4
   14
   15   one(2) = two(1)
				movl	4+TWO.6026@GOTOFF(%ebx), %eax
				movl	%eax, 8+ONE.6024@GOTOFF(%ebx)
				movl	$0, -12(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-12(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.LFE189:
				.data
				.align 4
		TWO.6026:
				.long	1
				.long	2
				.long	3
				.long	4
				.comm	ONE.6024,16,4
				.section	.data.rel.local,"aw",@progbits
				.align 32
		TWO_dv.6027:
				.long	TWO.6026
				.long	4
				.long	1
				.long	0
				.long	3
				.zero	40
				.align 32
		ONE_dv.6025:
				.long	ONE.6024
				.long	4
				.long	1
				.long	0
				.long	3
				.zero	40
				.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:
   16
   17 %endofprogram
    5 Statements compiled
