         Edinburgh IMP77 Compiler - Version 8.4
    1 !
		.Ltext0:
		NEST1.6023:
		.LFB190:
    2 ! pass1 doesn't pass the recordformatspec through, and although we can detect when
    3 ! 'recfm' is used before it has been fully specified, we can't know the original
    4 ! location where it was declared.  We have to take care when reinserting a generated
    5 ! recordformatspec to place it where it applies to all necessary uses.
    6 !
    7 %begin
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				pushl	%ecx
				subl	$32, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -28(%ebp)
				movl	%gs:20, %ecx
				movl	%ecx, -12(%ebp)
				xorl	%ecx, %ecx
				leal	8(%ebp), %edx
				movl	%edx, -24(%ebp)
				subl	$8, %esp
				pushl	-28(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    8   %recordformatspec recfm                  { recordformat spec has to be inserted here    }
    9   %integer i = 42                          { or here.  NOT in nest1 because then it would }
				movl	$42, -20(%ebp)
   10   %integermap nest1                        { already be out of scope again before the     }
				pushl	%ebp
				movl	%esp, %ebp
				subl	$20, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	%ecx, -20(%ebp)
   11     %integer filler = 17                   { decaration of 'another'                      }
				movl	$17, -12(%ebp)
   12     %ownrecord (recfm) %name fred
   13     %result == INTEGER(ADDR(fred))
				movl	FRED.6027@GOTOFF(%eax), %eax
				movl	%eax, -4(%ebp)
		.LBB10:
		.LBB11:
				movl	-4(%ebp), %eax
				movl	%eax, -8(%ebp)
		.LBE11:
		.LBE10:
		.LBB12:
		.LBB13:
				movl	-8(%ebp), %eax
		.LBE13:
		.LBE12:
				nop
   14   %end
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
?FILLER unused
   15   %record (recfm) %name another
   16   %recordformat recfm(%integer q)
   17   nest1 = 42
				leal	-24(%ebp), %eax
				movl	%eax, %ecx
				call	NEST1.6023
				movl	$42, (%eax)
   18   write(nest1, 0)
				leal	-24(%ebp), %eax
				movl	%eax, %ecx
				call	NEST1.6023
				movl	(%eax), %eax
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB14:
		.LBB15:
				call	_imp_newline@PLT
				movl	$0, -16(%ebp)
		.LBE15:
		.LBE14:
		.LBB16:
		.LBB17:
				subl	$12, %esp
				pushl	-16(%ebp)
				call	exit@PLT
		.LBE17:
		.LBE16:
		.LFE189:
				.comm	FRED.6027,4,4
				.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:
   19   newline
   20 %endofprogram
?ANOTHER unused
?I unused
?RECFM unused
   14 Statements compiled
