         Edinburgh IMP77 Compiler - Version 8.4
    1 ! second test
		.Ltext0:
		TEST.6022:
		.LFB190:
    2 %begin
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%ebx
				pushl	%ecx
				subl	$252, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -252(%ebp)
				movl	%gs:20, %edi
				movl	%edi, -28(%ebp)
				xorl	%edi, %edi
				leal	8(%ebp), %edx
				movl	%edx, -248(%ebp)
				subl	$8, %esp
				pushl	-252(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    3   %routine test(%name param)         ;! ia1          ia2
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				subl	$36, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, -28(%ebp)
				movl	8(%ebp), %eax
				movl	%eax, -12(%ebp)
		.LBB36:
		.LBB37:
				movl	-12(%ebp), %eax
		.LBE37:
		.LBE36:
    4     write(addr(param),0)  ; newline  ;! 2145833816   2145833816     same address again!
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB38:
		.LBB39:
				call	_imp_newline@PLT
		.LBE39:
		.LBE38:
    5     write(sizeof(param),0); newline  ;! 4            4              sizeof  %integer
				subl	$8, %esp
				pushl	$0
				pushl	$12
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB40:
		.LBB41:
				call	_imp_newline@PLT
		.LBE41:
		.LBE40:
    6     write(typeof(param),0); newline  ;! 1            1              typeof  %integer
				subl	$8, %esp
				pushl	$0
				pushl	$4
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB42:
		.LBB43:
				call	_imp_newline@PLT
		.LBE43:
		.LBE42:
    7   %end
				nop
				movl	-4(%ebp), %ebx
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
    8
    9   %integerarray ia1(3:5)
				leal	-164(%ebp), %edx
				movl	$0, %eax
				movl	$17, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-224(%ebp), %eax
				movl	%eax, -164(%ebp)
				movl	$4, -160(%ebp)
   10   %integerarray ia2(2:4,3:6)
				leal	-96(%ebp), %edx
				movl	$0, %eax
				movl	$17, %ecx
				movl	%edx, %edi
				rep stosl
				leal	-212(%ebp), %eax
				movl	%eax, -96(%ebp)
				movl	$4, -92(%ebp)
				leal	-224(%ebp), %eax
				movl	%eax, -244(%ebp)
		.LBB44:
		.LBB45:
				movl	-244(%ebp), %eax
		.LBE45:
		.LBE44:
   11
   12   write(addr(ia1),0); newline     ;! 2145833816     Note it is the same address as written in test(ia1) and test (ia2)!
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB46:
		.LBB47:
				call	_imp_newline@PLT
				leal	-224(%ebp), %eax
				movl	%eax, -240(%ebp)
		.LBE47:
		.LBE46:
		.LBB48:
		.LBB49:
				movl	-240(%ebp), %eax
		.LBE49:
		.LBE48:
   13   write(addr(ia1(3)),0); newline  ;! 2145833744
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB50:
		.LBB51:
				call	_imp_newline@PLT
		.LBE51:
		.LBE50:
   14   write(sizeof(ia1),0); newline   ;! 4
				subl	$8, %esp
				pushl	$0
				pushl	$4
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB52:
		.LBB53:
				call	_imp_newline@PLT
		.LBE53:
		.LBE52:
   15   write(typeof(ia1),0); newline   ;! 1
				subl	$8, %esp
				pushl	$0
				pushl	$1
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB54:
		.LBB55:
				call	_imp_newline@PLT
		.LBE55:
		.LBE54:
   16
   17   test(ia1)
				subl	$12, %esp
				leal	-248(%ebp), %eax
				leal	-224(%ebp), %edx
				pushl	%edx
				movl	%eax, %ecx
				call	TEST.6022
				addl	$16, %esp
				leal	-212(%ebp), %eax
				movl	%eax, -236(%ebp)
		.LBB56:
		.LBB57:
				movl	-236(%ebp), %eax
		.LBE57:
		.LBE56:
   18
   19
   20   write(addr(ia2),0); newline       ;! 2145833816   Same address as ia1 above!!!  that was unexpected.
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB58:
		.LBB59:
				call	_imp_newline@PLT
				leal	-212(%ebp), %eax
				movl	%eax, -232(%ebp)
		.LBE59:
		.LBE58:
		.LBB60:
		.LBB61:
				movl	-232(%ebp), %eax
		.LBE61:
		.LBE60:
   21   write(addr(ia2(2,3)),0); newline  ;! 2145833756   This is 12 bytes after address of first element of ia1, i.e. ia1(3)
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB62:
		.LBB63:
				call	_imp_newline@PLT
		.LBE63:
		.LBE62:
   22                                      !              (Note ia1 is 3 elements of 4 bytes per element)
   23   write(sizeof(ia2),0); newline     ;! 4
				subl	$8, %esp
				pushl	$0
				pushl	$16
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB64:
		.LBB65:
				call	_imp_newline@PLT
		.LBE65:
		.LBE64:
   24   write(typeof(ia2),0); newline     ;! 1
				subl	$8, %esp
				pushl	$0
				pushl	$4
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB66:
		.LBB67:
				call	_imp_newline@PLT
		.LBE67:
		.LBE66:
   25
   26   test(ia2)
				subl	$12, %esp
				leal	-248(%ebp), %eax
				leal	-212(%ebp), %edx
				pushl	%edx
				movl	%eax, %ecx
				call	TEST.6022
				addl	$16, %esp
				movl	$0, -228(%ebp)
		.LBB68:
		.LBB69:
				subl	$12, %esp
				pushl	-228(%ebp)
				call	exit@PLT
		.LBE69:
		.LBE68:
		.LFE189:
				.section	.text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
				.globl	__x86.get_pc_thunk.bx
				.hidden	__x86.get_pc_thunk.bx
		__x86.get_pc_thunk.bx:
		.LFB191:
				movl	(%esp), %ebx
				ret
		.LFE191:
		.Letext0:
   27
   28 %endofprogram
   30 Statements compiled
