         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:
		.LBB18:
    4 !*    A TEST TO CHECK THE LINE NUMBER OF A FAILURE AT RUN TIME         *
    5 !***********************************************************************
    6 %INTEGERARRAY A(0:4)
    7 %INTEGER I
    8 %routinespec fred(%integername j)
    9       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:
		.LBE18:
		.LBB19:
		.LBB20:
		 		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:
		.LBE20:
		.LBE19:
		.LBB21:
		.LBB22:
		 		lea (268,%sp),%sp
		 		clr.l -(%sp)
		 		jsr exit
		.LVL11:
		.LBE22:
		.LBE21:
		.LFE185:
		.Letext0:
   10 ")
   11    I=10
   12 fred(i)
   13 %stop
   14 %routine fred(%integername j)
   15 %IF j<0 %THEN %START
   16       !
   17       !
   18       %STOP
   19 %FINISH %ELSE A(j)=A(j)+1
   20       !
   21 %end
   22 %ENDOFPROGRAM
   14 Statements compiled
