         Edinburgh IMP77 Compiler - Version 8.4
    1 %recordformat sockaddr(%integer whatever)
		.Ltext0:
				.globl	CONNECT
		CONNECT:
		.LFB189:
    2
    3 %externalroutine connect(%integer sockfd, %record (sockaddr) %name addr, %integer addlen)
				pushl	%ebp
				movl	%esp, %ebp
				subl	$8, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
    4    %systemroutinespec connect(%integer sockfd, %record (sockaddr) %name addr, %integer addlen)
    5    connect(sockfd, addr, addlen)
				subl	$4, %esp
				pushl	16(%ebp)
				pushl	12(%ebp)
				pushl	8(%ebp)
				call	CONNECT
				addl	$16, %esp
    6 %end
				nop
				leave
				ret
		.LFE189:
				.globl	main
		main:
		.LFB190:
    7
    8 %begin
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				pushl	%ecx
				subl	$16, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				subl	$8, %esp
				pushl	4(%eax)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
				movl	$0, -12(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-12(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.LFE190:
				.section	.text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
				.globl	__x86.get_pc_thunk.ax
				.hidden	__x86.get_pc_thunk.ax
		__x86.get_pc_thunk.ax:
		.LFB191:
				movl	(%esp), %eax
				ret
		.LFE191:
				.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:
		.LFB192:
				movl	(%esp), %ebx
				ret
		.LFE192:
		.Letext0:
    9   ! call connect?
   10 %end
   11
   12 %endoffile
    8 Statements compiled
