         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.section	".rodata"
		.LC0:
				.byte	6
				.asciz	"Hello!"
				.skip	248
		.LC1:
				.byte	20
				.asciz	"In a %begin block..."
				.skip	234
		.LC3:
				.byte	8
				.asciz	"Goodbye!"
				.skip	246
				.section	".text"
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -1984, %sp
		.LVL1:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    2    printstring("Hello!"); newline
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
		.LBB19:
				mov	256, %o2
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL3:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 503, %o0
		.LVL4:
				mov	256, %o2
				add	%fp, 503, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL5:
		.LBE19:
		.LBB20:
		.LBB21:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 239, %o0
		.LVL6:
				call	_imp_printstring, 0
				 add	%fp, 239, %o0
		.LVL7:
		.LBE21:
		.LBE20:
		.LBB22:
		.LBB23:
				call	_imp_newline, 0
				 nop
		.LVL8:
		.LBE23:
		.LBE22:
		.LBB24:
    3    %begin
    4      printstring("In a %begin block..."); newline
				mov	256, %o2
				sethi	%hi(.LC1), %o1
				or	%o1, %lo(.LC1), %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL9:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, 759, %o0
		.LVL10:
				mov	256, %o2
				add	%fp, 759, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL11:
		.LBE24:
		.LBB25:
		.LBB26:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, 239, %o0
		.LVL12:
				call	_imp_printstring, 0
				 add	%fp, 239, %o0
		.LVL13:
		.LBE26:
		.LBE25:
		.LBB27:
		.LBB28:
				call	_imp_newline, 0
				 nop
		.LVL14:
		.LDL1:
		.LBE28:
		.LBE27:
		.LBB29:
    5      %return ;! in i2c this erroneously returns from main program :-(
    6      printstring("I guess %return in a %begin/%end block really does mean that it is an anonymous routine...");
?access
    7                                                                                                                ; newline
    7    %end
    8    printstring("Goodbye!"); newline
				mov	256, %o2
				sethi	%hi(.LC3), %o1
				or	%o1, %lo(.LC3), %o1
				call	memcpy, 0
				 add	%fp, 1271, %o0
		.LVL15:
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 add	%fp, 1015, %o0
		.LVL16:
				mov	256, %o2
				add	%fp, 1015, %o1
				call	memcpy, 0
				 add	%fp, 1271, %o0
		.LVL17:
		.LBE29:
		.LBB30:
		.LBB31:
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 add	%fp, 239, %o0
		.LVL18:
				call	_imp_printstring, 0
				 add	%fp, 239, %o0
		.LVL19:
		.LBE31:
		.LBE30:
		.LBB32:
		.LBB33:
				call	_imp_newline, 0
				 nop
		.LVL20:
		.LBE33:
		.LBE32:
		.LBB34:
		.LBB35:
				call	exit, 0
				 mov	0, %o0
		.LVL21:
		.LBE35:
		.LBE34:
				nop
		.LFE185:
		.Letext0:
    9 %endofprogram
   13 Statements compiled
