         Edinburgh IMP77 Compiler - Version 8.4
    1 ! In the C translation, local should be 'static' not external or auto...
				.section	".text"
		.Ltext0:
				.align 4
				.global FRED
				.proc	020
		FRED:
		.LFB185:
    2 %routinespec local(%integer i)
    3
    4 %externalroutine fred
				save	%sp, -176, %sp
		.LVL0:
		.LBB10:
		.LBB11:
    5   local(2)
    6 %end
    7
				return	%i7+8
				 nop
		.LFE185:
				.align 4
				.global main
				.proc	04
		main:
		.LFB187:
    8 %routine local(%integer i)
    9   write(i,0); newline
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	2, %o0
		.LVL1:
		.LBB12:
		.LBB13:
				call	_imp_newline, 0
				 nop
		.LVL2:
		.LBE13:
		.LBE12:
		.LBE11:
		.LBE10:
   10 %end
   11
   12 %begin
		.LVL3:
				save	%sp, -176, %sp
		.LVL4:
   13   %routinespec jim(%integer i)
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL5:
		.LBB18:
		.LBB19:
   14   jim(22)
   15   %routine jim(%integer i)
   16     fred
				call	FRED, 0
				 nop
		.LVL6:
		.LBE19:
		.LBE18:
		.LBB20:
		.LBB21:
				call	exit, 0
				 mov	0, %o0
		.LVL7:
		.LBE21:
		.LBE20:
				nop
		.LFE187:
		.Letext0:
   17   %end
?I unused
   18 %end
   19
   20 %endoffile
   16 Statements compiled
