         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.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	$348, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -348(%ebp)
				movl	%gs:20, %edi
				movl	%edi, -28(%ebp)
				xorl	%edi, %edi
				subl	$8, %esp
				pushl	-348(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   %recordformat rf(%integer a,b, %real r)
    3   %record(rf)%array ra(0:9)
				leal	-284(%ebp), %edx
				movl	$0, %eax
				movl	$17, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-148(%ebp), %eax
				movl	%eax, -284(%ebp)
				movl	$12, -280(%ebp)
    4   %record(rf)%namearray rna(0:9)
				leal	-216(%ebp), %edx
				movl	$0, %eax
				movl	$17, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-324(%ebp), %eax
				movl	%eax, -216(%ebp)
				movl	$4, -212(%ebp)
    5   %integer x
    6   x = ra(1)_a
				movl	-136(%ebp), %eax
				movl	%eax, -332(%ebp)
    7   ra(2)_b = x    ;! should use "->" in C
				movl	-332(%ebp), %eax
				movl	%eax, -120(%ebp)
    8   x = rna(1)_a   ;! should use "." in C
				movl	-320(%ebp), %eax
				movl	(%eax), %eax
				movl	%eax, -332(%ebp)
    9   rna(2)_b = x
				movl	-316(%ebp), %eax
				movl	-332(%ebp), %edx
				movl	%edx, 4(%eax)
				movl	$0, -328(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-328(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.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:
   10 %endofprogram
   10 Statements compiled
