         Edinburgh IMP77 Compiler - Version 8.4
    1 ! In the C translation, local should be 'static' not external or auto...
				.section .mdebug.abi32
				.previous
				.nan	legacy
				.module	fp=xx
				.module	nooddspreg
				.abicalls
		$Ltext0:
				.align	2
				.globl	FRED
				LFB185 = .
    2 %routinespec local(%integer i)
    3
    4 %externalroutine fred
				.set	nomips16
				.set	nomicromips
				.ent	FRED
		FRED:
				.frame	$sp,32,$31		# vars= 0, regs= 1/0, args= 16, gp= 8
				.mask	0x80000000,-4
				.fmask	0x00000000,0
				.set	noreorder
				.set	nomacro
				addiu	$sp,$sp,-32
				sw	$31,28($sp)
				lui	$28,%hi(__gnu_local_gp)
				addiu	$28,$28,%lo(__gnu_local_gp)
				.cprestore	16
				LVL0 = .
				LBB10 = .
				LBB11 = .
    5   local(2)
    6 %end
    7
				lw	$31,28($sp)
				jr	$31
				addiu	$sp,$sp,32
				.set	macro
				.set	reorder
				.end	FRED
		$LFE185:
				.align	2
				.globl	main
				LFB187 = .
    8 %routine local(%integer i)
    9   write(i,0); newline
				move	$5,$0
				li	$4,2			# 0x2
				lw	$25,%call16(_imp_writeint)($28)
				.reloc	1f,R_MIPS_JALR,_imp_writeint
			1:	jalr	$25
				nop
				LVL1 = .
				lw	$28,16($sp)
				LBB12 = .
				LBB13 = .
				lw	$25,%call16(_imp_newline)($28)
				.reloc	1f,R_MIPS_JALR,_imp_newline
			1:	jalr	$25
				nop
				LVL2 = .
				lw	$28,16($sp)
				LVL3 = .
				LBE13 = .
				LBE12 = .
				LBE11 = .
				LBE10 = .
   10 %end
   11
   12 %begin
				.set	nomips16
				.set	nomicromips
				.ent	main
		main:
				.frame	$sp,32,$31		# vars= 0, regs= 1/0, args= 16, gp= 8
				.mask	0x80000000,-4
				.fmask	0x00000000,0
				.set	noreorder
				.set	nomacro
				LVL4 = .
				addiu	$sp,$sp,-32
				sw	$31,28($sp)
				lui	$28,%hi(__gnu_local_gp)
				addiu	$28,$28,%lo(__gnu_local_gp)
				.cprestore	16
   13   %routinespec jim(%integer i)
				lw	$25,%call16(_imp_initialise)($28)
				.reloc	1f,R_MIPS_JALR,_imp_initialise
			1:	jalr	$25
				nop
				LVL5 = .
				lw	$28,16($sp)
				LVL6 = .
				LVL7 = .
				LBB18 = .
				LBB19 = .
   14   jim(22)
   15   %routine jim(%integer i)
   16     fred
				.option	pic0
				jal	FRED
				nop
				.option	pic2
				LVL8 = .
				lw	$28,16($sp)
				LVL9 = .
				LBE19 = .
				LBE18 = .
				LBB20 = .
				LBB21 = .
				move	$4,$0
				lw	$25,%call16(exit)($28)
				.reloc	1f,R_MIPS_JALR,exit
			1:	jalr	$25
				nop
				LVL10 = .
				LBE21 = .
				LBE20 = .
				.set	macro
				.set	reorder
				.end	main
		$LFE187:
		$Letext0:
   17   %end
?I unused
   18 %end
   19
   20 %endoffile
   16 Statements compiled
