         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -3776, %sp
		.LVL1:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    2   %string(255)s
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
    3   s = "left" . "right"
    4   printstring(s); newline
    5   s = "left" . "middle" . "right"
				mov	255, %o2
				add	%fp, -1033, %o1
				call	_imp_strncpy, 0
				 add	%fp, -1289, %o0
		.LVL3:
				mov	256, %o2
				add	%fp, -777, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL4:
		.LBB32:
		.LBB33:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, -1553, %o0
		.LVL5:
				call	_imp_printstring, 0
				 add	%fp, -1553, %o0
		.LVL6:
		.LBE33:
		.LBE32:
		.LBB34:
		.LBB35:
				call	_imp_newline, 0
				 nop
		.LVL7:
		.LBE35:
		.LBE34:
    6   printstring(s); newline
    7   s <- "left" . "right"
				mov	255, %o2
				add	%fp, -521, %o1
				call	_imp_strncpy, 0
				 add	%fp, -1289, %o0
		.LVL8:
				mov	256, %o2
				add	%fp, -265, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL9:
		.LBB36:
		.LBB37:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, -1553, %o0
		.LVL10:
				call	_imp_printstring, 0
				 add	%fp, -1553, %o0
		.LVL11:
		.LBE37:
		.LBE36:
		.LBB38:
		.LBB39:
				call	_imp_newline, 0
				 nop
		.LVL12:
		.LBE39:
		.LBE38:
    8   printstring(s); newline
    9   s <- "left" . "middle" . "right"
				mov	255, %o2
				add	%fp, -9, %o1
				call	_imp_strncpy, 0
				 add	%fp, -1289, %o0
		.LVL13:
				mov	256, %o2
				add	%fp, 247, %o1
				call	memcpy, 0
				 add	%fp, 1271, %o0
		.LVL14:
		.LBB40:
		.LBB41:
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 add	%fp, -1553, %o0
		.LVL15:
				call	_imp_printstring, 0
				 add	%fp, -1553, %o0
		.LVL16:
		.LBE41:
		.LBE40:
		.LBB42:
		.LBB43:
				call	_imp_newline, 0
				 nop
		.LVL17:
		.LBE43:
		.LBE42:
   10   printstring(s); newline
   11 %endofprogram
				mov	255, %o2
				add	%fp, 503, %o1
				call	_imp_strncpy, 0
				 add	%fp, -1289, %o0
		.LVL18:
				mov	256, %o2
				add	%fp, 759, %o1
				call	memcpy, 0
				 add	%fp, 1015, %o0
		.LVL19:
		.LBB44:
		.LBB45:
				mov	256, %o2
				add	%fp, 1015, %o1
				call	memcpy, 0
				 add	%fp, -1553, %o0
		.LVL20:
				call	_imp_printstring, 0
				 add	%fp, -1553, %o0
		.LVL21:
		.LBE45:
		.LBE44:
		.LBB46:
		.LBB47:
				call	_imp_newline, 0
				 nop
		.LVL22:
		.LBE47:
		.LBE46:
		.LBB48:
		.LBB49:
				call	exit, 0
				 mov	0, %o0
		.LVL23:
		.LBE49:
		.LBE48:
				nop
		.LFE185:
		.Letext0:
   15 Statements compiled
