         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.section	".rodata"
		.LC0:
				.byte	7
				.asciz	"Test OK"
				.skip	247
				.section	".text"
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -960, %sp
		.LVL1:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    2 %longreal x; %real y
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
		.LBB12:
    3 %integer i,j
    4 y=-1.999
    5 x=y
    6 i=trunc(x)
    7 j=trunc(y)
    8 %if i=j=-1 %then printstring("Test OK") %else %monitor
    9 %endofprogram
   10 Statements compiled
				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, 1527, %o0
		.LVL4:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL5:
		.LBE12:
		.LBB13:
		.LBB14:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1263, %o0
		.LVL6:
				call	_imp_printstring, 0
				 add	%fp, 1263, %o0
		.LVL7:
		.LDL1:
		.LDL2:
		.LBE14:
		.LBE13:
		.LBB15:
		.LBB16:
				call	exit, 0
				 mov	0, %o0
		.LVL8:
		.LBE16:
		.LBE15:
				nop
		.LFE185:
		.Letext0:
