         Edinburgh IMP77 Compiler - Version 8.4
    1 %Constant %Integer  CB1   = 1
				.section	".text"
		.Ltext0:
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
    2 %Constant %Integer  CB2   = 2
    3 %Constant %Integer  CInt1 = CB1 + 3 * 4
    4 %Constant %Integer  CInt2 = CInt1 + CB2 + 321
    5 %Constant %Integer  CInt4 = 4
    6 %Constant %Integer  MInt1 = M'X'
    7 %Constant %Integer  MInt2 = M'IMP'
    8 %begin
		.LVL0:
				save	%sp, -176, %sp
		.LVL1:
    9   %integer I
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
   10   I = CB1
   11   I = CB2
   12   I = CInt1
   13   I = CInt2
   14   I = CInt4
   15   I = MInt1
   16   I = MInt2
   17
   18   I = CB1 + I
   19   I = CB2 + I
   20   I = CInt1 + I
   21   I = CInt2 + I
   22   I = CInt4 + I
   23   I = MInt1 + I
   24   I = MInt2 + I
   25
   26   Write(CB1, 0); newline
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	1, %o0
		.LVL3:
		.LBB18:
		.LBB19:
				call	_imp_newline, 0
				 nop
		.LVL4:
		.LBE19:
		.LBE18:
   27   Write(CB2, 0); newline
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	2, %o0
		.LVL5:
		.LBB20:
		.LBB21:
				call	_imp_newline, 0
				 nop
		.LVL6:
		.LBE21:
		.LBE20:
   28   Write(CInt1, 0); newline
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	13, %o0
		.LVL7:
		.LBB22:
		.LBB23:
				call	_imp_newline, 0
				 nop
		.LVL8:
		.LBE23:
		.LBE22:
   29   Write(CInt2, 0); newline
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	336, %o0
		.LVL9:
		.LBB24:
		.LBB25:
				call	_imp_newline, 0
				 nop
		.LVL10:
		.LBE25:
		.LBE24:
   30   Write(CInt4, 0); newline
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	4, %o0
		.LVL11:
		.LBB26:
		.LBB27:
				call	_imp_newline, 0
				 nop
		.LVL12:
		.LBE27:
		.LBE26:
   31   Write(MInt1, 0); newline
				mov	0, %o1
				call	_imp_writeint, 0
				 mov	88, %o0
		.LVL13:
		.LBB28:
		.LBB29:
				call	_imp_newline, 0
				 nop
		.LVL14:
		.LBE29:
		.LBE28:
   32   Write(MInt2, 0); newline
				mov	0, %o1
				sethi	%hi(307450880), %o0
				call	_imp_writeint, 0
				 srlx	%o0, 6, %o0
		.LVL15:
		.LBB30:
		.LBB31:
				call	_imp_newline, 0
				 nop
		.LVL16:
		.LBE31:
		.LBE30:
		.LBB32:
		.LBB33:
				call	exit, 0
				 mov	0, %o0
		.LVL17:
		.LBE33:
		.LBE32:
				nop
		.LFE185:
		.Letext0:
   33
   34 %endofprogram
   38 Statements compiled
