         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				NO_APP
		.Ltext0:
				.section	.rodata
		.LC2:
		 		.byte	4
		 		.string	"fail"
		 		.zero	250
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#-3584
		 		movem.l #12344,-(%sp)
    2 %conststring(10) fred="abcdefghij"
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
    3 %string(10) a,b
    4
    5 	%if fred->a.("def").b %start
		 		pea -512(%fp)
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l #256,%d2
		 		move.l %d2,-(%sp)
		 		pea -3328(%fp)
		 		move.l %d0,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL2:
		 		lea (12,%sp),%sp
		 		pea -256(%fp)
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		pea -3584(%fp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL3:
		 		lea (12,%sp),%sp
		 		jsr _imp_resolve
		.LVL4:
		 		lea (528,%sp),%sp
		 		tst.l %d0
		 		jeq .L2
		.LBB34:
		.LBB35:
    6 	printstring("OK a=".a);
    7 	newline
    8 	%finish %else %start
		 		pea -256(%fp)
		 		pea -2816(%fp)
		 		lea (-768,%fp),%a1
		 		jsr _imp_join
		.LVL5:
		 		move.l %fp,%d2
		.LVL6:
		 		add.l #-1792,%d2
		.LVL7:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea -3072(%fp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL8:
		.LBE35:
		.LBE34:
		.LBB36:
		.LBB37:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL9:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL10:
		.LBE37:
		.LBE36:
		.LBB38:
		.LBB39:
		 		lea (276,%sp),%sp
		 		jsr _imp_newline
		.LVL11:
		.L3:
		.LBE39:
		.LBE38:
		.LBB40:
		.LBB41:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL12:
		.L2:
		.LBE41:
		.LBE40:
		.LBB42:
    9 		printstring("fail")
		 		lea (-768,%fp),%a3
		 		move.l #256,%d2
		 		move.l %d2,-(%sp)
		 		pea .LC2
		 		move.l %a3,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL13:
		 		move.l %fp,%d3
		.LVL14:
		 		add.l #-2560,%d3
		.LVL15:
		 		move.l %d2,-(%sp)
		 		move.l %a3,-(%sp)
		 		move.l %d3,-(%sp)
		 		jsr (%a2)
		.LVL16:
		 		move.l %d2,-(%sp)
		 		move.l %d3,-(%sp)
		 		move.l %a3,-(%sp)
		 		jsr (%a2)
		.LVL17:
		.LBE42:
		.LBB43:
		.LBB44:
		 		lea (-220,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		move.l %a3,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL18:
		 		lea (12,%sp),%sp
		 		lea _imp_printstring,%a4
		 		jsr (%a4)
		.LVL19:
		.LBE44:
		.LBE43:
		.LBB45:
		.LBB46:
		 		add.l %d2,%sp
		 		lea _imp_newline,%a3
		 		jsr (%a3)
		.LVL20:
		 		add.l #1536,%d3
		.LVL21:
		 		move.l %d2,-(%sp)
		 		pea -2304(%fp)
		 		move.l %d3,-(%sp)
		 		jsr (%a2)
		.LVL22:
		.LBE46:
		.LBE45:
		.LBB47:
		.LBB48:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		move.l %d3,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL23:
		 		lea (12,%sp),%sp
		 		jsr (%a4)
		.LVL24:
		.LBE48:
		.LBE47:
		.LBB49:
		.LBB50:
		 		lea (268,%sp),%sp
		 		jsr (%a3)
		.LVL25:
		 		add.l #-256,%d3
		.LVL26:
		 		move.l %d2,-(%sp)
		 		pea -2048(%fp)
		 		move.l %d3,-(%sp)
		 		jsr (%a2)
		.LVL27:
		.LBE50:
		.LBE49:
		.LBB51:
		.LBB52:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		move.l %d3,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL28:
		 		lea (12,%sp),%sp
		 		jsr (%a4)
		.LVL29:
		.LBE52:
		.LBE51:
		.LBB53:
		.LBB54:
		 		lea (268,%sp),%sp
		 		jsr (%a3)
		.LVL30:
		 		clr.b -1536(%fp)
		.LBE54:
		.LBE53:
		.LBB55:
		.LBB56:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		pea -1536(%fp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL31:
		 		lea (12,%sp),%sp
		 		jsr (%a4)
		.LVL32:
		.LBE56:
		.LBE55:
		.LBB57:
		.LBB58:
		 		add.l %d2,%sp
		 		jsr (%a3)
		.LVL33:
		 		jra .L3
		.LBE58:
		.LBE57:
		.LFE185:
		.Letext0:
   10 		newline;
   11 		printstring(a);
   12 		newline;
   13 		printstring(b)
   14 		newline
   15 		printstring(fred)
   16 		newline
   17 	%finish
   18 %endofprogram
   17 Statements compiled
