         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.globl	main
		main:
		.LFB185:
		.LVL0:
				subq	$536, %rsp
				movq	%fs:40, %rax
				movq	%rax, 520(%rsp)
				xorl	%eax, %eax
    2 %integer i
				call	_imp_initialise@PLT
		.LVL1:
		.LBB26:
    3 %recordformat vf(%integer x,y,%INTEGERARRAY A(1:10))
    4 %record(vf) rr
    5 %record(vf)%function recd(%integername n)
    6    %record(vf)r
    7    r_x=n
    8    r_y=n+1
    9    r_a(1)=n
   10    %result=r
   11 %end
   12       i=10
   13       RR=RECD(I)
   14       i=recd(i)_y
   15       %if i=11 %and rr_a(1)=10 %then printstring("TEST OK") %and %stop
   16       printstring("TEST FAILED")
   17 %endofprogram
				movabsq	$21197623525590356, %rax
				movl	$0, %edx
				movq	%rax, 257(%rsp)
				movq	%rdx, 265(%rsp)
				movb	$0, 273(%rsp)
				movw	$0, 274(%rsp)
				movl	$0, 276(%rsp)
				leaq	280(%rsp), %rdi
				movl	$29, %ecx
				movl	$0, %eax
				rep stosq
				movb	$7, 256(%rsp)
				movq	256(%rsp), %rax
				movq	264(%rsp), %rdx
				movq	%rax, (%rsp)
				movq	%rdx, 8(%rsp)
		.LVL2:
				movb	$7, (%rsp)
		.LBE26:
		.LBB27:
		.LBB28:
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	504(%rsp)
				pushq	248(%rsp)
				pushq	248(%rsp)
				call	_imp_printstring@PLT
		.LVL3:
		.LBE28:
		.LBE27:
		.LBB29:
		.LBB30:
				addq	$256, %rsp
				movl	$0, %edi
				call	exit@PLT
		.LVL4:
		.LBE30:
		.LBE29:
		.LFE185:
		.Letext0:
   17 Statements compiled
