         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.option nopic
		.Ltext0:
				.align	1
		TEST.6002:
		.LFB186:
		.LVL7:
				add	sp,sp,-96
				sd	ra,88(sp)
				lui	a5,%hi(__stack_chk_guard)
				ld	a5,%lo(__stack_chk_guard)(a5)
				sd	a5,72(sp)
    2   %routine test(%name param)         ;! ia1         ia2
		.LVL0:
				add	sp,sp,-16
				sd	ra,8(sp)
				call	_imp_initialise
		.LVL8:
    3     write(addr(param),0)  ; newline  ;! 2145833816  2145833816    are these the same because it's the address of the
				li	a1,0
				call	_imp_writelong
		.LVL1:
		.LBB12:
		.LBB13:
				call	_imp_newline
		.LVL2:
		.LBE13:
		.LBE12:
    4                                       !                           %name param rather than the array it points to?
    5     write(sizeof(param),0); newline  ;! 4           4
				li	a1,0
				li	a0,16
				call	_imp_writelong
		.LVL3:
		.LBB14:
		.LBB15:
				call	_imp_newline
		.LVL4:
		.LBE15:
		.LBE14:
    6     write(typeof(param),0); newline  ;! 1           1
				li	a1,0
				li	a0,4
				call	_imp_writeint
		.LVL5:
		.LBB16:
		.LBB17:
				call	_imp_newline
		.LVL6:
		.LBE17:
		.LBE16:
    7   %end
    8
				ld	ra,8(sp)
				add	sp,sp,16
				jr	ra
		.LFE186:
				.align	1
				.globl	main
		main:
		.LFB185:
    9   %integerarray ia1(3:5)
   10   %integerarray ia2(2:4,3:6)
   11
   12   test(ia1)
				add	a0,sp,8
				call	TEST.6002
		.LVL9:
   13   test(ia2)
				add	a0,sp,24
				call	TEST.6002
		.LVL10:
		.LBB18:
		.LBB19:
				li	a0,0
				call	exit
		.LVL11:
		.LBE19:
		.LBE18:
		.LFE185:
		.Letext0:
   14
   15 %endofprogram
   14 Statements compiled
