         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	%edi
				pushl	%ebx
				pushl	%ecx
				subl	$220, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -220(%ebp)
				movl	%gs:20, %edi
				movl	%edi, -28(%ebp)
				xorl	%edi, %edi
				subl	$8, %esp
				pushl	-220(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2
    3   ! Interestingly enough you *can* initialise records in Imp77, but
    4   ! although it *looks* like an integer is being assigned to the first
    5   ! field, I believe it is actually assigning an address and may be
    6   ! related to the special case of assigning 0 to a record.
    7
    8   ! It would be really interesting to see what happens on a traditional
    9   ! imp77 compiler implementation.  I may try this in the Vax emulator.
   10
   11   %recordformat same(%integer i, j)
   12   %ownrecord(same)%array or(0:3) = 42, 3, 17, 11
   13   %constrecord(same)%array cr(0:3) = 142, 13, 117, 111
				movl	$0, %ecx
				movl	$32, %eax
				andl	$-4, %eax
				movl	%eax, %edx
				movl	$0, %eax
		.L2:
				movl	%ecx, -212(%ebp,%eax)
				addl	$4, %eax
				cmpl	%edx, %eax
				jb	.L2
				movl	$142, -212(%ebp)
				movl	$13, -208(%ebp)
				movl	$117, -204(%ebp)
				movl	$111, -200(%ebp)
				leal	-148(%ebp), %edx
				movl	$0, %eax
				movl	$15, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-212(%ebp), %eax
				movl	%eax, -148(%ebp)
				movl	$8, -144(%ebp)
				movl	$1, -140(%ebp)
				movl	$3, -132(%ebp)
   14
   15   %recordformat mixed(%real r, %integer i)
   16 ! %ownrecord(mixed)%array orm(0:3) = 42, 3.1415, 17, 2.123
   17 !                                        ^ causes an error.  This is a significant clue.
   18   %ownrecord(same)%array orm2(0:3) = 42, 3, 17, 11
   19   %constrecord(same)%array cr2(0:3) = 142, 13, 117, 111
				movl	$0, %ecx
				movl	$32, %eax
				andl	$-4, %eax
				movl	%eax, %edx
				movl	$0, %eax
		.L4:
				movl	%ecx, -180(%ebp,%eax)
				addl	$4, %eax
				cmpl	%edx, %eax
				jb	.L4
				movl	$142, -180(%ebp)
				movl	$13, -176(%ebp)
				movl	$117, -172(%ebp)
				movl	$111, -168(%ebp)
				leal	-88(%ebp), %edx
				movl	$0, %eax
				movl	$15, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-180(%ebp), %eax
				movl	%eax, -88(%ebp)
				movl	$8, -84(%ebp)
				movl	$1, -80(%ebp)
				movl	$3, -72(%ebp)
				movl	$0, -216(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-216(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.LFE189:
				.section	.data.rel.local,"aw",@progbits
				.align 32
		ORM2_dv.6043:
				.long	ORM2.6042
				.long	8
				.long	1
				.long	0
				.long	3
				.zero	40
				.data
				.align 32
		ORM2.6042:
				.long	42
				.long	3
				.long	17
				.long	11
				.zero	16
				.section	.data.rel.local
				.align 32
		OR_dv.6032:
				.long	OR.6031
				.long	8
				.long	1
				.long	0
				.long	3
				.zero	40
				.data
				.align 32
		OR.6031:
				.long	42
				.long	3
				.long	17
				.long	11
				.zero	16
				.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:
   20
   21 %endofprogram
?CR2 unused
    0 nused
?MIXED unused
?CR unused
?OR unused
    8 Statements compiled
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%ebx
				pushl	%ecx
				subl	$220, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -220(%ebp)
				movl	%gs:20, %edi
				movl	%edi, -28(%ebp)
				xorl	%edi, %edi
				subl	$8, %esp
				pushl	-220(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
				movl	$0, %ecx
				movl	$32, %eax
				andl	$-4, %eax
				movl	%eax, %edx
				movl	$0, %eax
		.L2:
				movl	%ecx, -212(%ebp,%eax)
				addl	$4, %eax
				cmpl	%edx, %eax
				jb	.L2
				movl	$142, -212(%ebp)
				movl	$13, -208(%ebp)
				movl	$117, -204(%ebp)
				movl	$111, -200(%ebp)
				leal	-148(%ebp), %edx
				movl	$0, %eax
				movl	$15, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-212(%ebp), %eax
				movl	%eax, -148(%ebp)
				movl	$8, -144(%ebp)
				movl	$1, -140(%ebp)
				movl	$3, -132(%ebp)
				movl	$0, %ecx
				movl	$32, %eax
				andl	$-4, %eax
				movl	%eax, %edx
				movl	$0, %eax
		.L4:
				movl	%ecx, -180(%ebp,%eax)
				addl	$4, %eax
				cmpl	%edx, %eax
				jb	.L4
				movl	$142, -180(%ebp)
				movl	$13, -176(%ebp)
				movl	$117, -172(%ebp)
				movl	$111, -168(%ebp)
				leal	-88(%ebp), %edx
				movl	$0, %eax
				movl	$15, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-180(%ebp), %eax
				movl	%eax, -88(%ebp)
				movl	$8, -84(%ebp)
				movl	$1, -80(%ebp)
				movl	$3, -72(%ebp)
				movl	$0, -216(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-216(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.LFE189:
				.section	.data.rel.local,"aw",@progbits
				.align 32
		ORM2_dv.6043:
				.long	ORM2.6042
				.long	8
				.long	1
				.long	0
				.long	3
				.zero	40
				.data
				.align 32
		ORM2.6042:
				.long	42
				.long	3
				.long	17
				.long	11
				.zero	16
				.section	.data.rel.local
				.align 32
		OR_dv.6032:
				.long	OR.6031
				.long	8
				.long	1
				.long	0
				.long	3
				.zero	40
				.data
				.align 32
		OR.6031:
				.long	42
				.long	3
				.long	17
				.long	11
				.zero	16
				.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:
