         Edinburgh IMP77 Compiler - Version 8.4
    1 ! second test
				.section	".text"
		.Ltext0:
				.align 4
				.proc	020
		TEST.6057:
		.LFB186:
    2 %begin
				.register	%g7, #ignore
		.LVL8:
				save	%sp, -256, %sp
		.LVL9:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    3   %routine test(%name param)         ;! ia1          ia2
		.LVL0:
				save	%sp, -176, %sp
		.LVL1:
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL10:
    4     write(addr(param),0)  ; newline  ;! 2145833816   2145833816     same address again!
				mov	0, %o1
				call	_imp_writelong, 0
				 mov	%i0, %o0
		.LVL2:
		.LBB36:
		.LBB37:
				call	_imp_newline, 0
				 nop
		.LVL3:
		.LBE37:
		.LBE36:
    5     write(sizeof(param),0); newline  ;! 4            4              sizeof  %integer
				mov	0, %o1
				call	_imp_writelong, 0
				 mov	16, %o0
		.LVL4:
		.LBB38:
		.LBB39:
				call	_imp_newline, 0
				 nop
		.LVL5:
		.LBE39:
		.LBE38:
    6     write(typeof(param),0); newline  ;! 1            1              typeof  %integer
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	4, %o0
		.LVL6:
		.LBB40:
		.LBB41:
				call	_imp_newline, 0
				 nop
		.LVL7:
		.LBE41:
		.LBE40:
    7   %end
    8
				return	%i7+8
				 nop
		.LFE186:
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
    9   %integerarray ia1(3:5)
   10   %integerarray ia2(2:4,3:6)
   11
   12   write(addr(ia1),0); newline     ;! 2145833816     Note it is the same address as written in test(ia1) and test (ia2)!
				mov	0, %o1
				call	_imp_writelong, 0
				 add	%fp, 1979, %o0
		.LVL11:
		.LBB42:
		.LBB43:
				call	_imp_newline, 0
				 nop
		.LVL12:
		.LBE43:
		.LBE42:
   13   write(addr(ia1(3)),0); newline  ;! 2145833744
				mov	0, %o1
				call	_imp_writelong, 0
				 add	%fp, 1979, %o0
		.LVL13:
		.LBB44:
		.LBB45:
				call	_imp_newline, 0
				 nop
		.LVL14:
		.LBE45:
		.LBE44:
   14   write(sizeof(ia1),0); newline   ;! 4
				mov	0, %o1
				call	_imp_writelong, 0
				 mov	4, %o0
		.LVL15:
		.LBB46:
		.LBB47:
				call	_imp_newline, 0
				 nop
		.LVL16:
		.LBE47:
		.LBE46:
   15   write(typeof(ia1),0); newline   ;! 1
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	1, %o0
		.LVL17:
		.LBB48:
		.LBB49:
				call	_imp_newline, 0
				 nop
		.LVL18:
		.LBE49:
		.LBE48:
   16
   17   test(ia1)
				call	TEST.6057, 0
				 add	%fp, 1979, %o0
		.LVL19:
   18
   19
   20   write(addr(ia2),0); newline       ;! 2145833816   Same address as ia1 above!!!  that was unexpected.
				mov	0, %o1
				call	_imp_writelong, 0
				 add	%fp, 1991, %o0
		.LVL20:
		.LBB50:
		.LBB51:
				call	_imp_newline, 0
				 nop
		.LVL21:
		.LBE51:
		.LBE50:
   21   write(addr(ia2(2,3)),0); newline  ;! 2145833756   This is 12 bytes after address of first element of ia1, i.e. ia1(3)
				mov	0, %o1
				call	_imp_writelong, 0
				 add	%fp, 1991, %o0
		.LVL22:
		.LBB52:
		.LBB53:
				call	_imp_newline, 0
				 nop
		.LVL23:
		.LBE53:
		.LBE52:
   22                                      !              (Note ia1 is 3 elements of 4 bytes per element)
   23   write(sizeof(ia2),0); newline     ;! 4
				mov	0, %o1
				call	_imp_writelong, 0
				 mov	16, %o0
		.LVL24:
		.LBB54:
		.LBB55:
				call	_imp_newline, 0
				 nop
		.LVL25:
		.LBE55:
		.LBE54:
   24   write(typeof(ia2),0); newline     ;! 1
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	4, %o0
		.LVL26:
		.LBB56:
		.LBB57:
				call	_imp_newline, 0
				 nop
		.LVL27:
		.LBE57:
		.LBE56:
   25
   26   test(ia2)
				call	TEST.6057, 0
				 add	%fp, 1991, %o0
		.LVL28:
		.LBB58:
		.LBB59:
				call	exit, 0
				 mov	0, %o0
		.LVL29:
		.LBE59:
		.LBE58:
				nop
		.LFE185:
		.Letext0:
   27
   28 %endofprogram
   30 Statements compiled
