         Edinburgh IMP77 Compiler - Version 8.4
    1 !%permroutinespec    write(%integer  v,p);
		.Ltext0:
		TEST.6022:
		.LFB190:
    2 !%permroutinespec    newline
    3 !%primintegerfnspec      addr(%name p)
    4 !%primintegerfnspec      typeof(%name n)
    5 !%primintegerfnspec      sizeof(%name n)
    6
    7 %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
    8   %routine test(%name param)
				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:
    9     write(addr(param),0)  ; newline
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB38:
		.LBB39:
				call	_imp_newline@PLT
		.LBE39:
		.LBE38:
   10     write(sizeof(param),0); newline
				subl	$8, %esp
				pushl	$0
				pushl	$12
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB40:
		.LBB41:
				call	_imp_newline@PLT
		.LBE41:
		.LBE40:
   11     write(typeof(param),0); newline
				subl	$8, %esp
				pushl	$0
				pushl	$4
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB42:
		.LBB43:
				call	_imp_newline@PLT
		.LBE43:
		.LBE42:
   12   %end
				nop
				movl	-4(%ebp), %ebx
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
   13
   14   %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)
   15
   16   %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:
   17
   18
   19   write(addr(ia1),0)  ; newline
				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:
   20   write(addr(ia1(3)),0)  ; newline
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB50:
		.LBB51:
				call	_imp_newline@PLT
		.LBE51:
		.LBE50:
   21   write(sizeof(ia1),0); newline
				subl	$8, %esp
				pushl	$0
				pushl	$4
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB52:
		.LBB53:
				call	_imp_newline@PLT
		.LBE53:
		.LBE52:
   22   write(typeof(ia1),0); newline
				subl	$8, %esp
				pushl	$0
				pushl	$1
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB54:
		.LBB55:
				call	_imp_newline@PLT
		.LBE55:
		.LBE54:
   23   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:
   24
   25   write(addr(ia2),0)  ; newline
				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:
   26   write(addr(ia2(2,3)),0)  ; newline
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB62:
		.LBB63:
				call	_imp_newline@PLT
		.LBE63:
		.LBE62:
   27   write(sizeof(ia2),0); newline
				subl	$8, %esp
				pushl	$0
				pushl	$16
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB64:
		.LBB65:
				call	_imp_newline@PLT
		.LBE65:
		.LBE64:
   28   write(typeof(ia2),0); newline
				subl	$8, %esp
				pushl	$0
				pushl	$4
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB66:
		.LBB67:
				call	_imp_newline@PLT
		.LBE67:
		.LBE66:
   29   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:
   30
   31 %endofprogram
   30 Statements compiled
