         Edinburgh IMP77 Compiler - Version 8.4
    1 %own %integer ATOM1=17
		.Ltext0:
				.data
				.align 4
		ATOM1:
				.long	17
		CODEATOM:
		.LFB189:
    2
    3 %routine CODEATOM
				pushl	%ebp
				movl	%esp, %ebp
				subl	$280, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	%gs:20, %ecx
				movl	%ecx, -12(%ebp)
				xorl	%ecx, %ecx
    4
    5    %if ATOM1#0 %then ->i77L231
				movl	ATOM1@GOTOFF(%eax), %edx
				testl	%edx, %edx
				jne	.L7
				nop
		.L3:
				nop
		.L4:
    6       ATOM1=19
				movl	$19, ATOM1@GOTOFF(%eax)
    7       %return
				jmp	.L1
		.L7:
    8    i77L231:
    9
   10    !Atom1 = \Atom1;  Atom1 = \Atom1
   11    %return
				nop
		.L1:
   12
   13    Print String("Error!");
?access
   14                           ;  Newline;  %stop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L6
				call	__stack_chk_fail_local
		.L6:
				leave
				ret
		.LFE189:
				.section	.rodata
				.align 32
		.LC1:
				.byte	23
				.string	"About to call Code Atom"
				.zero	231
				.align 32
		.LC2:
				.byte	6
				.string	"atom1="
				.zero	248
				.globl	main
		main:
		.LFB190:
   14 %end
   15
   16 %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	$1064, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -1068(%ebp)
				movl	%gs:20, %esi
				movl	%esi, -28(%ebp)
				xorl	%esi, %esi
				subl	$8, %esp
				pushl	-1068(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
		.LBB14:
   17    Print String("About to call Code Atom");  Newline
				leal	-284(%ebp), %eax
				leal	.LC1@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-1052(%ebp), %eax
				leal	-284(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-284(%ebp), %eax
				leal	-1052(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE14:
		.LBB15:
		.LBB16:
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-284(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				call	_imp_printstring@PLT
				addl	$256, %esp
		.LBE16:
		.LBE15:
		.LBB17:
		.LBB18:
				call	_imp_newline@PLT
		.LBE18:
		.LBE17:
   18    Code Atom
				call	CODEATOM
		.LBB19:
   19    Print String("atom1=");  Write(Atom1, 0)
				leal	-540(%ebp), %eax
				leal	.LC2@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-796(%ebp), %eax
				leal	-540(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-540(%ebp), %eax
				leal	-796(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE19:
		.LBB20:
		.LBB21:
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-540(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				call	_imp_printstring@PLT
				addl	$256, %esp
		.LBE21:
		.LBE20:
				movl	ATOM1@GOTOFF(%ebx), %eax
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB22:
		.LBB23:
				call	_imp_newline@PLT
				movl	$0, -1056(%ebp)
		.LBE23:
		.LBE22:
		.LBB24:
		.LBB25:
				subl	$12, %esp
				pushl	-1056(%ebp)
				call	exit@PLT
		.LBE25:
		.LBE24:
		.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:
   20    Newline
   21 %endofprogram
   18 Statements compiled
