         Edinburgh IMP77 Compiler - Version 8.4
    1 ! second test
		.Ltext0:
		TEST.6388:
		.LFB186:
    2 %begin
		.LVL7:
				pushq	%rbx
				subq	$80, %rsp
				movq	%fs:40, %rax
				movq	%rax, 72(%rsp)
				xorl	%eax, %eax
    3   %routine test(%name param)         ;! ia1          ia2
		.LVL0:
				subq	$8, %rsp
				call	_imp_initialise@PLT
		.LVL8:
    4     write(addr(param),0)  ; newline  ;! 2145833816   2145833816     same address again!
				movl	$0, %esi
				call	_imp_writelong@PLT
		.LVL1:
		.LBB36:
		.LBB37:
				call	_imp_newline@PLT
		.LVL2:
		.LBE37:
		.LBE36:
    5     write(sizeof(param),0); newline  ;! 4            4              sizeof  %integer
				movl	$0, %esi
				movl	$16, %edi
				call	_imp_writelong@PLT
		.LVL3:
		.LBB38:
		.LBB39:
				call	_imp_newline@PLT
		.LVL4:
		.LBE39:
		.LBE38:
    6     write(typeof(param),0); newline  ;! 1            1              typeof  %integer
				movl	$0, %esi
				movl	$4, %edi
				call	_imp_writeint@PLT
		.LVL5:
		.LBB40:
		.LBB41:
				call	_imp_newline@PLT
		.LVL6:
		.LBE41:
		.LBE40:
    7   %end
    8
				addq	$8, %rsp
				ret
		.LFE186:
				.globl	main
		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)!
				leaq	4(%rsp), %rbx
				movl	$0, %esi
				movq	%rbx, %rdi
				call	_imp_writelong@PLT
		.LVL9:
		.LBB42:
		.LBB43:
				call	_imp_newline@PLT
		.LVL10:
		.LBE43:
		.LBE42:
   13   write(addr(ia1(3)),0); newline  ;! 2145833744
				movl	$0, %esi
				movq	%rbx, %rdi
				call	_imp_writelong@PLT
		.LVL11:
		.LBB44:
		.LBB45:
				call	_imp_newline@PLT
		.LVL12:
		.LBE45:
		.LBE44:
   14   write(sizeof(ia1),0); newline   ;! 4
				movl	$0, %esi
				movl	$4, %edi
				call	_imp_writelong@PLT
		.LVL13:
		.LBB46:
		.LBB47:
				call	_imp_newline@PLT
		.LVL14:
		.LBE47:
		.LBE46:
   15   write(typeof(ia1),0); newline   ;! 1
				movl	$0, %esi
				movl	$1, %edi
				call	_imp_writeint@PLT
		.LVL15:
		.LBB48:
		.LBB49:
				call	_imp_newline@PLT
		.LVL16:
		.LBE49:
		.LBE48:
   16
   17   test(ia1)
				movq	%rbx, %rdi
				call	TEST.6388
		.LVL17:
   18
   19
   20   write(addr(ia2),0); newline       ;! 2145833816   Same address as ia1 above!!!  that was unexpected.
				leaq	16(%rsp), %rbx
				movl	$0, %esi
				movq	%rbx, %rdi
				call	_imp_writelong@PLT
		.LVL18:
		.LBB50:
		.LBB51:
				call	_imp_newline@PLT
		.LVL19:
		.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)
				movl	$0, %esi
				movq	%rbx, %rdi
				call	_imp_writelong@PLT
		.LVL20:
		.LBB52:
		.LBB53:
				call	_imp_newline@PLT
		.LVL21:
		.LBE53:
		.LBE52:
   22                                      !              (Note ia1 is 3 elements of 4 bytes per element)
   23   write(sizeof(ia2),0); newline     ;! 4
				movl	$0, %esi
				movl	$16, %edi
				call	_imp_writelong@PLT
		.LVL22:
		.LBB54:
		.LBB55:
				call	_imp_newline@PLT
		.LVL23:
		.LBE55:
		.LBE54:
   24   write(typeof(ia2),0); newline     ;! 1
				movl	$0, %esi
				movl	$4, %edi
				call	_imp_writeint@PLT
		.LVL24:
		.LBB56:
		.LBB57:
				call	_imp_newline@PLT
		.LVL25:
		.LBE57:
		.LBE56:
   25
   26   test(ia2)
				movq	%rbx, %rdi
				call	TEST.6388
		.LVL26:
		.LBB58:
		.LBB59:
				movl	$0, %edi
				call	exit@PLT
		.LVL27:
		.LBE59:
		.LBE58:
		.LFE185:
		.Letext0:
   27
   28 %endofprogram
   30 Statements compiled
