         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				NO_APP
		.Ltext0:
				.section	.rodata
		.LC0:
		 		.byte	5
		 		.string	"Done."
		 		.zero	249
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#-512
		 		movem.l #14368,-(%sp)
    2   %routine fred(%integer n)
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
		.LDL1:
		.LDL2:
		.LBB9:
    3     %if n&7 = 7 %start
    4       %monitor   ;! print diags
    5 !     %monitor 3
    6     %finish
    7   %end
    8   %integer i = 0
    9   %cycle
   10     fred(i)
   11     i = i+1
   12   %repeat %until i = 10
   13   print string("Done.");
		 		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:
		.LBE11:
		.LBE10:
		.LBB12:
		.LBB13:
		 		lea (268,%sp),%sp
		 		jsr _imp_newline
		.LVL11:
		.LBE13:
		.LBE12:
		.LBB14:
		.LBB15:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL12:
		.LBE15:
		.LBE14:
		.LFE185:
		.Letext0:
   14   newline
   15   %stop
   16 %endofprogram
   15 Statements compiled
