         Edinburgh IMP77 Compiler - Version 8.4
    1 %integerfnspec jim(%integer a,b)
		.Ltext0:
				.align	1
				.global	FRED
				.thumb
				.thumb_func
		FRED:
		.LFB185:
    2 %externalroutine fred %alias "s#go"
				@ args = 0, pretend = 0, frame = 520
				@ frame_needed = 0, uses_anonymous_args = 0
				push	{r4, r5, r6, r7, lr}
				sub	sp, sp, #764
				ldr	r3, .L5
		.LPIC0:
				add	r3, pc
				ldr	r2, .L5+4
				ldr	r7, [r3, r2]
				ldr	r3, [r7]
				str	r3, [sp, #756]
		.LBB14:
    3 %integer x
    4 printstring("fred
				mov	r6, #256
				mov	r2, r6
				ldr	r1, .L5+8
		.LPIC1:
				add	r1, pc
				add	r4, sp, #500
				mov	r0, r4
				bl	memcpy(PLT)
		.LVL0:
				mov	r2, r6
				mov	r1, r4
				add	r5, sp, #244
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL1:
				mov	r2, r6
				mov	r1, r5
				mov	r0, r4
				bl	memcpy(PLT)
		.LVL2:
		.LBE14:
		.LBB15:
		.LBB16:
				movs	r2, #240
				add	r1, sp, #516
				mov	r0, sp
				bl	memcpy(PLT)
		.LVL3:
				ldm	r4, {r0, r1, r2, r3}
				bl	_imp_printstring(PLT)
		.LVL4:
		.LBE16:
		.LBE15:
    5 ")
    6 x=jim(4,5)
    7 write(x,5); newline
				movs	r1, #5
				movs	r0, #1
				bl	_imp_writeint(PLT)
		.LVL5:
		.LBB17:
		.LBB18:
				bl	_imp_newline(PLT)
		.LVL6:
		.LBE18:
		.LBE17:
    8
    9 %end
   10 %integerfn jim(%integer a,b)
				ldr	r2, [sp, #756]
				ldr	r3, [r7]
				cmp	r2, r3
				bne	.L4
				add	sp, sp, #764
				@ sp needed
				pop	{r4, r5, r6, r7, pc}
		.L4:
				bl	__stack_chk_fail(PLT)
		.LVL7:
		.L6:
				.align	2
		.L5:
				.word	_GLOBAL_OFFSET_TABLE_-(.LPIC0+4)
				.word	__stack_chk_guard(GOT)
				.word	.LANCHOR0-(.LPIC1+4)
		.LFE185:
				.section	.rodata
				.align	2
				.set	.LANCHOR0,. + 0
		.LC0:
				.byte	5
				.ascii	"fred\012\000"
				.space	249
		.Letext0:
   11
   12 %if a<b %then %result=1
   13 %result=0
   14 %end
   15 %endoffile
   13 Statements compiled
