         Edinburgh IMP77 Compiler - Version 8.4
    1 %external %integer fred
				.section .mdebug.abi32
				.previous
				.nan	legacy
				.module	fp=xx
				.module	nooddspreg
				.abicalls
		$Ltext0:
				.align	2
				.globl	BERT
				LFB185 = .
    2 %external %routine bert(%integer i)
				.set	nomips16
				.set	nomicromips
				.ent	BERT
		BERT:
				.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0
				.mask	0x00000000,0
				.fmask	0x00000000,0
				.set	noreorder
				.set	nomacro
				LVL0 = .
				lui	$28,%hi(__gnu_local_gp)
				addiu	$28,$28,%lo(__gnu_local_gp)
    3   fred = i
				lw	$2,%got(FRED)($28)
				lw	$2,%got(FRED)($28)
				li	$3,22			# 0x16
				sw	$3,0($2)
				LVL7 = .
				LBE9 = .
				LBE8 = .
    4 %end
    5
				jr	$31
				sw	$4,0($2)
				.set	macro
				.set	reorder
				.end	BERT
		$LFE185:
				.align	2
				.globl	SHIELA
				LFB186 = .
    6
    7 %external %routine shiela(%integer k)
				.set	nomips16
				.set	nomicromips
				.ent	SHIELA
		SHIELA:
				.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0
				.mask	0x00000000,0
				.fmask	0x00000000,0
				.set	noreorder
				.set	nomacro
				LVL1 = .
    8 %own %integer local = 42
    9   k = local
   10   local = local + 1
				lui	$3,%hi(LOCAL.6000)
				lw	$2,%lo(LOCAL.6000)($3)
				addiu	$2,$2,1
				LVL2 = .
   11 %end
   12
				jr	$31
				sw	$2,%lo(LOCAL.6000)($3)
				.set	macro
				.set	reorder
				.end	SHIELA
		$LFE186:
				.align	2
				.globl	main
				LFB187 = .
   13 %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
				LVL3 = .
				addiu	$sp,$sp,-32
				sw	$31,28($sp)
				lui	$28,%hi(__gnu_local_gp)
				addiu	$28,$28,%lo(__gnu_local_gp)
				.cprestore	16
   14   bert(22)
				lw	$25,%call16(_imp_initialise)($28)
				.reloc	1f,R_MIPS_JALR,_imp_initialise
			1:	jalr	$25
				nop
				LVL4 = .
				lw	$28,16($sp)
				LVL5 = .
				LVL6 = .
				LBB8 = .
				LBB9 = .
   15   shiela(fred)
				li	$4,22			# 0x16
				.option	pic0
				jal	SHIELA
				nop
				.option	pic2
				LVL8 = .
				lw	$28,16($sp)
				LVL9 = .
				LBB10 = .
				LBB11 = .
				move	$4,$0
				lw	$25,%call16(exit)($28)
				.reloc	1f,R_MIPS_JALR,exit
			1:	jalr	$25
				nop
				LVL10 = .
				LBE11 = .
				LBE10 = .
				.set	macro
				.set	reorder
				.end	main
		$LFE187:
				.data
				.align	2
		LOCAL.6000:
				.word	42
				.comm	FRED,4,4
				.text
		$Letext0:
   16 %end %of %programm
   13 Statements compiled
