         Edinburgh IMP77 Compiler - Version 8.4
    1 ! In the C translation, local should be 'static' not external or auto...
				NO_APP
		.Ltext0:
				.align	2
				.globl	FRED
		FRED:
		.LFB185:
    2 %routinespec local(%integer i)
    3
    4 %externalroutine fred
		 		link.w %fp,#0
		.LVL0:
		.LBB10:
		.LBB11:
    5   local(2)
    6 %end
		 		addq.l #8,%sp
    7
		 		unlk %fp
		 		rts
		.LFE185:
				.align	2
				.globl	main
		main:
		.LFB187:
    8 %routine local(%integer i)
    9   write(i,0); newline
		 		clr.l -(%sp)
		 		pea 2.w
		 		jsr _imp_writeint
		.LVL1:
		.LBB12:
		.LBB13:
		 		jsr _imp_newline
		.LVL2:
		.LBE13:
		.LBE12:
		.LBE11:
		.LBE10:
   10 %end
   11
   12 %begin
		.LVL3:
		 		link.w %fp,#0
   13   %routinespec jim(%integer i)
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL4:
		.LBB18:
		.LBB19:
   14   jim(22)
   15   %routine jim(%integer i)
   16     fred
		 		jsr FRED
		.LVL5:
		.LBE19:
		.LBE18:
		.LBB20:
		.LBB21:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL6:
		.LBE21:
		.LBE20:
		.LFE187:
		.Letext0:
   17   %end
?I unused
   18 %end
   19
   20 %endoffile
   16 Statements compiled
