         Edinburgh IMP77 Compiler - Version 8.4
    1 %integerfnspec jim(%integer a,b)
				.section	".text"
		.Ltext0:
				.section	".rodata"
		.LC0:
				.byte	5
				.asciz	"fred\n"
				.skip	249
				.section	".text"
				.align 4
				.global FRED
				.proc	020
		FRED:
		.LFB185:
    2 %externalroutine fred %alias "s#go"
				.register	%g2, #scratch
				.register	%g7, #ignore
				save	%sp, -960, %sp
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
		.LBB14:
    3 %integer x
    4 printstring("fred
				mov	256, %o2
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL0:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL1:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL2:
		.LBE14:
		.LBB15:
		.LBB16:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1263, %o0
		.LVL3:
				call	_imp_printstring, 0
				 add	%fp, 1263, %o0
		.LVL4:
		.LBE16:
		.LBE15:
    5 ")
    6 x=jim(4,5)
    7 write(x,5); newline
				mov	5, %o1
				call	_imp_writeint, 0
				 mov	1, %o0
		.LVL5:
		.LBB17:
		.LBB18:
				call	_imp_newline, 0
				 nop
		.LVL6:
		.LBE18:
		.LBE17:
    8
    9 %end
   10 %integerfn jim(%integer a,b)
				ldx	[%fp+2039], %g1
				ldx	[%g7+40], %g2
				xor	%g1, %g2, %g1
				mov	0, %g2
				brnz,pn	%g1, .L3
				 nop
				return	%i7+8
				 nop
		.L3:
				call	__stack_chk_fail, 0
				 nop
		.LVL7:
				nop
		.LFE185:
		.Letext0:
   11
   12 %if a<b %then %result=1
   13 %result=0
   14 %end
   15 %endoffile
   13 Statements compiled
