         Edinburgh IMP77 Compiler - Version 8.4
    1
				.section	".text"
		.Ltext0:
				.section	".rodata"
		.LC0:
				.byte	38
				.asciz	"This gives diagnostics showing i = 10\n"
				.skip	216
				.section	".text"
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
    2 %BEGIN
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -960, %sp
		.LVL1:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    3 !***********************************************************************
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
		.LBB9:
    4 !*    A TEST TO CHECK THE LINE NUMBER OF A FAILURE AT RUN TIME         *
    5 !***********************************************************************
    6 %recordformat rf(%integer i,j,k)
    7 %record(rf) %name fred
    8 %INTEGERARRAY A(0:4)
    9 %INTEGER I
   10 	fred==record(-1)
   11       printstring("This gives diagnostics showing i = 10
				mov	256, %o2
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL3:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL4:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL5:
		.LBE9:
		.LBB10:
		.LBB11:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1263, %o0
		.LVL6:
				call	_imp_printstring, 0
				 add	%fp, 1263, %o0
		.LVL7:
		.LDL1:
		.LBE11:
		.LBE10:
		.LBB12:
		.LBB13:
				call	exit, 0
				 mov	0, %o0
		.LVL8:
		.LBE13:
		.LBE12:
				nop
		.LFE185:
		.Letext0:
   12 ")
   13    I=10
   14 %IF 1<0 %THEN %START
   15       !
   16       !
   17       %STOP
   18 %FINISH %ELSE A(I)=A(I)+1
   19       !
   20 %ENDOFPROGRAM
   12 Statements compiled
