         Edinburgh IMP77 Compiler - Version 8.4
    1 ! A test of dynamic loading!  (not yet implemented.  See dltest.c for the mechanism.)
		.Ltext0:
				.globl	next_free_bound_index
				.bss
				.align 4
		next_free_bound_index:
				.zero	4
				.comm	_lb,384,32
				.comm	_ub,384,32
				.section	.rodata
				.align 32
		.LC0:
				.byte	11
				.string	"/bin/ls -la"
				.zero	243
				.globl	main
		main:
		.LFB189:
    2 %begin
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%esi
				pushl	%ebx
				pushl	%ecx
				subl	$568, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -572(%ebp)
				movl	%gs:20, %esi
				movl	%esi, -28(%ebp)
				xorl	%esi, %esi
				subl	$8, %esp
				pushl	-572(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
		.LBB12:
		.LBB13:
    3   %dynamic %routine %spec system(%longinteger pointer64)
    4   ! By making this dynamic, it is linked *at run time*
    5
    6   %string (255) command = "/bin/ls -la"
				leal	-540(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-284(%ebp), %eax
				leal	-540(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE13:
				leal	-540(%ebp), %eax
				leal	-284(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-540(%ebp), %eax
		.LBE12:
				subl	$4, %esp
				pushl	$255
				pushl	%eax
				leal	-540(%ebp), %eax
				pushl	%eax
				call	_imp_strncpy@PLT
				addl	$16, %esp
				leal	-540(%ebp), %eax
				movl	%eax, -544(%ebp)
		.LBB14:
		.LBB15:
				movl	-544(%ebp), %eax
		.LBE15:
		.LBE14:
    7
    8   charno(command, length(command)+1) = 0
				movzbl	(%eax), %eax
				movzbl	%al, %eax
				leal	1(%eax), %edx
				leal	-540(%ebp), %eax
				movl	%eax, -552(%ebp)
				movl	%edx, -548(%ebp)
		.LBB16:
		.LBB17:
				movl	-552(%ebp), %edx
				movl	-548(%ebp), %eax
				addl	%edx, %eax
		.LBE17:
		.LBE16:
				movb	$0, (%eax)
				leal	-540(%ebp), %eax
				movl	%eax, -556(%ebp)
		.LBB18:
		.LBB19:
				movl	-556(%ebp), %eax
		.LBE19:
		.LBE18:
    9   system(ADDR(command)+1)
				addl	$1, %eax
				subl	$12, %esp
				pushl	%eax
				call	SYSTEM@PLT
				addl	$16, %esp
				movl	$0, -560(%ebp)
		.LBB20:
		.LBB21:
				subl	$12, %esp
				pushl	-560(%ebp)
				call	exit@PLT
		.LBE21:
		.LBE20:
		.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:
		.LFB190:
				movl	(%esp), %ebx
				ret
		.LFE190:
		.Letext0:
   10
   11 %endofprogram
    6 Statements compiled
