         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	%ebx
				pushl	%ecx
				subl	$32, %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 a, b, c, d
    3
    4   ! With variables
    5   a = b * c + d
				movl	-28(%ebp), %eax
				imull	-24(%ebp), %eax
				movl	%eax, %edx
				movl	-20(%ebp), %eax
				addl	%edx, %eax
				movl	%eax, -16(%ebp)
    6   a = (b * c) + d
				movl	-28(%ebp), %eax
				imull	-24(%ebp), %eax
				movl	%eax, %edx
				movl	-20(%ebp), %eax
				addl	%edx, %eax
				movl	%eax, -16(%ebp)
    7
    8   a = b + c * d
				movl	-24(%ebp), %eax
				imull	-20(%ebp), %eax
				movl	%eax, %edx
				movl	-28(%ebp), %eax
				addl	%edx, %eax
				movl	%eax, -16(%ebp)
    9   a = b + (c * d)
				movl	-24(%ebp), %eax
				imull	-20(%ebp), %eax
				movl	%eax, %edx
				movl	-28(%ebp), %eax
				addl	%edx, %eax
				movl	%eax, -16(%ebp)
   10
   11   ! With constants
   12   a = 2 * 3 + 4
				movl	$10, -16(%ebp)
   13   a = (2 * 3) + 4
				movl	$10, -16(%ebp)
   14
   15   a = 2 + 3 * 4
				movl	$14, -16(%ebp)
   16   a = 2 + (3 * 4)
				movl	$14, -16(%ebp)
				movl	$0, -12(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-12(%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:
   17
   18 %endofprogram
   11 Statements compiled
