         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section .mdebug.abi32
				.previous
				.nan	legacy
				.module	fp=xx
				.module	nooddspreg
				.abicalls
		$Ltext0:
				.align	2
				LFB186 = .
				.set	nomips16
				.set	nomicromips
				.ent	main
		main:
				.frame	$sp,96,$31		# vars= 64, regs= 1/0, args= 16, gp= 8
				.mask	0x80000000,-4
				.fmask	0x00000000,0
				.set	noreorder
				.set	nomacro
				LVL8 = .
				addiu	$sp,$sp,-96
				sw	$31,92($sp)
				lui	$28,%hi(__gnu_local_gp)
				addiu	$28,$28,%lo(__gnu_local_gp)
				.cprestore	16
				lw	$2,%got(__stack_chk_guard)($28)
				lw	$2,0($2)
				sw	$2,84($sp)
    2   %routine test(%name param)         ;! ia1         ia2
				.set	nomips16
				.set	nomicromips
				.ent	TEST.5998
		TEST.5998:
				.frame	$sp,32,$31		# vars= 0, regs= 1/0, args= 16, gp= 8
				.mask	0x80000000,-4
				.fmask	0x00000000,0
				.set	noreorder
				.set	nomacro
				LVL0 = .
				addiu	$sp,$sp,-32
				sw	$31,28($sp)
				lui	$28,%hi(__gnu_local_gp)
				addiu	$28,$28,%lo(__gnu_local_gp)
				.cprestore	16
				lw	$25,%call16(_imp_initialise)($28)
				.reloc	1f,R_MIPS_JALR,_imp_initialise
			1:	jalr	$25
				nop
				LVL9 = .
				lw	$28,16($sp)
				LVL10 = .
    3     write(addr(param),0)  ; newline  ;! 2145833816  2145833816    are these the same because it's the address of the
				move	$5,$0
				lw	$25,%call16(_imp_writeint)($28)
				.reloc	1f,R_MIPS_JALR,_imp_writeint
			1:	jalr	$25
				nop
				LVL1 = .
				lw	$28,16($sp)
				LVL2 = .
				LBB12 = .
				LBB13 = .
				lw	$25,%call16(_imp_newline)($28)
				.reloc	1f,R_MIPS_JALR,_imp_newline
			1:	jalr	$25
				nop
				LVL3 = .
				lw	$28,16($sp)
				LBE13 = .
				LBE12 = .
    4                                       !                           %name param rather than the array it points to?
    5     write(sizeof(param),0); newline  ;! 4           4
				move	$5,$0
				li	$4,12			# 0xc
				lw	$25,%call16(_imp_writeint)($28)
				.reloc	1f,R_MIPS_JALR,_imp_writeint
			1:	jalr	$25
				nop
				LVL4 = .
				lw	$28,16($sp)
				LBB14 = .
				LBB15 = .
				lw	$25,%call16(_imp_newline)($28)
				.reloc	1f,R_MIPS_JALR,_imp_newline
			1:	jalr	$25
				nop
				LVL5 = .
				lw	$28,16($sp)
				LBE15 = .
				LBE14 = .
    6     write(typeof(param),0); newline  ;! 1           1
				move	$5,$0
				li	$4,4			# 0x4
				lw	$25,%call16(_imp_writeint)($28)
				.reloc	1f,R_MIPS_JALR,_imp_writeint
			1:	jalr	$25
				nop
				LVL6 = .
				lw	$28,16($sp)
				LBB16 = .
				LBB17 = .
				lw	$25,%call16(_imp_newline)($28)
				.reloc	1f,R_MIPS_JALR,_imp_newline
			1:	jalr	$25
				nop
				LVL7 = .
				lw	$28,16($sp)
				LBE17 = .
				LBE16 = .
    7   %end
    8
				lw	$31,28($sp)
				jr	$31
				addiu	$sp,$sp,32
				.set	macro
				.set	reorder
				.end	TEST.5998
		$LFE186:
				.align	2
				.globl	main
				LFB185 = .
    9   %integerarray ia1(3:5)
   10   %integerarray ia2(2:4,3:6)
   11
   12   test(ia1)
				addiu	$4,$sp,24
				.option	pic0
				jal	TEST.5998
				nop
				.option	pic2
				LVL11 = .
				lw	$28,16($sp)
   13   test(ia2)
				addiu	$4,$sp,36
				.option	pic0
				jal	TEST.5998
				nop
				.option	pic2
				LVL12 = .
				lw	$28,16($sp)
				LVL13 = .
				LBB18 = .
				LBB19 = .
				move	$4,$0
				lw	$25,%call16(exit)($28)
				.reloc	1f,R_MIPS_JALR,exit
			1:	jalr	$25
				nop
				LVL14 = .
				LBE19 = .
				LBE18 = .
				.set	macro
				.set	reorder
				.end	main
		$LFE185:
		$Letext0:
   14
   15 %endofprogram
   14 Statements compiled
