         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
				.register	%g2, #scratch
				.register	%g3, #scratch
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -4096, %sp
		.LVL1:
				add	%sp, -1728, %sp
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    2   %string(100) s
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
    3   %string(25) left = "left"
    4   %string(20) middle = "middle"
    5   %string(15) right = "right"
    6   s = left . right
				sethi	%hi(4096), %i5
				xor	%i5, -776, %o1
				sethi	%hi(5120), %i4
				xor	%i4, -8, %i3
				add	%fp, 2047, %g1
				add	%g1, %i3, %i3
				mov	25, %o2
				add	%g1, %o1, %o1
				call	_imp_strncpy, 0
				 mov	%i3, %o0
		.LVL3:
    7   printstring(s); newline
				xor	%i5, -264, %o1
				xor	%i5, -520, %i2
				add	%fp, 2047, %g1
				add	%g1, %i2, %i2
				mov	20, %o2
				add	%g1, %o1, %o1
				call	_imp_strncpy, 0
				 mov	%i2, %o0
		.LVL4:
    8   s = left . middle . right
				xor	%i5, -8, %i5
				add	%fp, 2047, %g1
				add	%g1, %i5, %i5
				mov	15, %o2
				add	%fp, -1801, %o1
				call	_imp_strncpy, 0
				 mov	%i5, %o0
		.LVL5:
		.LBB48:
		.LBB49:
				mov	%i5, %o2
				mov	%i3, %o1
				call	_imp_join, 0
				 add	%fp, 1783, %o0
		.LVL6:
		.LBE49:
		.LBE48:
				xor	%i4, -264, %i0
				add	%fp, 2047, %g1
				add	%g1, %i0, %i1
		.LVL7:
				mov	100, %o2
				add	%fp, -1545, %o1
				call	_imp_strncpy, 0
				 mov	%i1, %o0
		.LVL8:
				mov	256, %o2
				add	%fp, -1289, %o1
				call	memcpy, 0
				 add	%fp, 1271, %o0
		.LVL9:
		.LBB50:
		.LBB51:
				xor	%i4, -528, %i4
				add	%fp, 2047, %g1
				add	%g1, %i4, %i4
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 mov	%i4, %o0
		.LVL10:
				call	_imp_printstring, 0
				 mov	%i4, %o0
		.LVL11:
		.LBE51:
		.LBE50:
		.LBB52:
		.LBB53:
				call	_imp_newline, 0
				 nop
		.LVL12:
		.LBE53:
		.LBE52:
		.LBB54:
		.LBB55:
		.LBB56:
    9   printstring(s); newline
   10   s <- left . right
				mov	%i2, %o2
				mov	%i3, %o1
				call	_imp_join, 0
				 add	%fp, -777, %o0
		.LVL13:
		.LBE56:
				mov	%i5, %o2
				add	%fp, -777, %o1
				call	_imp_join, 0
				 add	%fp, 1783, %o0
		.LVL14:
		.LBE55:
		.LBE54:
				mov	100, %o2
				add	%fp, -1033, %o1
				call	_imp_strncpy, 0
				 mov	%i1, %o0
		.LVL15:
				mov	256, %o2
				add	%fp, -521, %o1
				call	memcpy, 0
				 add	%fp, 1015, %o0
		.LVL16:
		.LBB57:
		.LBB58:
				mov	256, %o2
				add	%fp, 1015, %o1
				call	memcpy, 0
				 mov	%i4, %o0
		.LVL17:
				call	_imp_printstring, 0
				 mov	%i4, %o0
		.LVL18:
		.LBE58:
		.LBE57:
		.LBB59:
		.LBB60:
				call	_imp_newline, 0
				 nop
		.LVL19:
		.LBE60:
		.LBE59:
		.LBB61:
		.LBB62:
   11   printstring(s); newline
   12   s <- left . middle . right
				mov	%i5, %o2
				mov	%i3, %o1
				call	_imp_join, 0
				 add	%fp, 1783, %o0
		.LVL20:
		.LBE62:
		.LBE61:
				mov	100, %o2
				add	%fp, -265, %o1
				call	_imp_strncpy, 0
				 mov	%i1, %o0
		.LVL21:
   13   printstring(s); newline
   14 %endofprogram
				xor	%i4, -520, %o2
				xor	%i5, -8, %o1
				add	%fp, 2047, %g1
				add	%g1, %o2, %o2
				add	%g1, %o1, %o1
				call	_imp_join, 0
				 add	%fp, 503, %o0
		.LVL26:
		.LBE69:
				xor	%i4, -8, %o2
				add	%fp, 2047, %g1
				add	%g1, %o2, %o2
				add	%fp, 503, %o1
				call	_imp_join, 0
				 add	%fp, 1783, %o0
		.LVL27:
		.LBE68:
		.LBE67:
				xor	%i5, -264, %i5
				mov	100, %o2
				add	%fp, 247, %o1
				add	%fp, 2047, %g1
				call	_imp_strncpy, 0
				 add	%g1, %i5, %o0
		.LVL28:
				add	%fp, 2047, %g1
				ldub	[%g1+%i5], %g1
				cmp	%g1, 100
				bleu,pt	%icc, .L6
				 mov	256, %o2
				mov	100, %g2
				add	%fp, 2047, %g3
				stb	%g2, [%g3+%i5]
		.L6:
				add	%fp, 759, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL29:
		.LBB70:
		.LBB71:
				sethi	%hi(5120), %i5
				xor	%i5, -528, %i5
				add	%fp, 2047, %g1
				add	%g1, %i5, %i5
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 mov	%i5, %o0
		.LVL30:
				call	_imp_printstring, 0
				 mov	%i5, %o0
		.LVL31:
		.LBE71:
		.LBE70:
		.LBB72:
		.LBB73:
				call	_imp_newline, 0
				 nop
		.LVL32:
		.LBE73:
		.LBE72:
		.LBB74:
		.LBB75:
				call	exit, 0
				 mov	0, %o0
		.LVL33:
		.LBE75:
		.LBE74:
				nop
		.LFE185:
		.Letext0:
   18 Statements compiled
				add	%fp, 2047, %g1
				ldub	[%g1+%i0], %g1
				cmp	%g1, 100
				bleu,pt	%icc, .L5
				 mov	256, %o2
				mov	100, %g2
				add	%fp, 2047, %g3
				stb	%g2, [%g3+%i0]
		.L5:
				add	%fp, -9, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL22:
		.LBB63:
		.LBB64:
				sethi	%hi(5120), %i5
				xor	%i5, -528, %i4
				add	%fp, 2047, %g1
				add	%g1, %i4, %i4
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 mov	%i4, %o0
		.LVL23:
				call	_imp_printstring, 0
				 mov	%i4, %o0
		.LVL24:
		.LBE64:
		.LBE63:
		.LBB65:
		.LBB66:
				call	_imp_newline, 0
				 sethi	%hi(4096), %i4
		.LVL25:
		.LBE66:
		.LBE65:
		.LBB67:
		.LBB68:
		.LBB69:
