         Edinburgh IMP77 Compiler - Version 8.4
    1
				NO_APP
		.Ltext0:
				.section	.rodata
		.LC0:
		 		.byte	38
		 		.string	"This gives diagnostics showing i = 10\n"
		 		.zero	216
				.align	2
				.globl	main
		main:
		.LFB185:
    2 %BEGIN
		.LVL0:
		 		link.w %fp,#-512
		 		movem.l #14368,-(%sp)
    3 !***********************************************************************
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
		.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
		 		move.l %fp,%d2
		.LVL2:
		 		add.l #-256,%d2
		.LVL3:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea .LC0
		 		move.l %d2,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL4:
		 		move.l %fp,%d4
		.LVL5:
		 		add.l #-512,%d4
		.LVL6:
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL7:
		 		lea (32,%sp),%sp
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL8:
		.LBE9:
		.LBB10:
		.LBB11:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL9:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL10:
		.LDL1:
		.LBE11:
		.LBE10:
		.LBB12:
		.LBB13:
		 		lea (268,%sp),%sp
		 		clr.l -(%sp)
		 		jsr exit
		.LVL11:
		.LBE13:
		.LBE12:
		.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
