         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.globl	main
		main:
		.LFB189:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%esi
				pushl	%ebx
				pushl	%ecx
				subl	$28, %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
    2   %integer res, fred, jim
    3   fred = 1
				movl	$1, -40(%ebp)
    4   jim = fred + 2
				movl	-40(%ebp), %eax
				addl	$2, %eax
				movl	%eax, -36(%ebp)
    5   ! how do you do integer exponentiation?
    6   res = ((fred * jim) + jim) - ((fred << jim) // jim)
				movl	-40(%ebp), %eax
				addl	$1, %eax
				imull	-36(%ebp), %eax
				movl	%eax, %esi
				movl	-36(%ebp), %eax
				movl	-40(%ebp), %edx
				movl	%eax, %ecx
				sall	%cl, %edx
				movl	%edx, %eax
				cltd
				idivl	-36(%ebp)
				subl	%eax, %esi
				movl	%esi, %eax
				movl	%eax, -32(%ebp)
    7   res = fred >> (fred ! jim) & jim;
				movl	-40(%ebp), %edx
				movl	-40(%ebp), %eax
				orl	-36(%ebp), %eax
				movl	%eax, %ecx
				shrl	%cl, %edx
				movl	-36(%ebp), %eax
				andl	%edx, %eax
				movl	%eax, -32(%ebp)
				movl	$0, -28(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-28(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.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:
    8 %endofprogram
    7 Statements compiled
