         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.align	1
				.thumb
				.thumb_func
		FRED.10027:
		.LFB186:
				@ args = 0, pretend = 0, frame = 0
				@ frame_needed = 0, uses_anonymous_args = 0
		.LVL15:
				push	{r3, lr}
    2 %externalinteger fredfred
				bl	_imp_initialise(PLT)
		.LVL16:
    3 %routine fred(%integer opcode)
				@ args = 0, pretend = 0, frame = 1032
				@ frame_needed = 0, uses_anonymous_args = 0
		.LVL0:
				push	{r4, r5, r6, r7, lr}
				subw	sp, sp, #1276
				mov	r4, r0
				ldr	r5, .L8
		.LPIC0:
				add	r5, pc
				ldr	r3, .L8+4
				ldr	r3, [r5, r3]
				ldr	r3, [r3]
				str	r3, [sp, #1268]
    4 %externalintegerspec fredfred
    5 %integer i,j,k,l
    6 %string(11) ts
    7       ts="abcdef"
    8 i=1; j=2; k=3
    9 write(fredfred,5)
				movs	r2, #11
				add	r1, sp, #500
				add	r0, sp, #244
		.LVL1:
				bl	_imp_strncpy(PLT)
		.LVL2:
				ldr	r3, .L8+8
				ldr	r3, [r5, r3]
				movs	r1, #5
				ldr	r0, [r3]
				bl	_imp_writeint(PLT)
		.LVL3:
   10 %if opcode=x'9a' %or X'e8'<=opcode<=x'e9' %or x'81'<=opcode<=x'89' %then printstring("Test ok")
				cmp	r4, #154
				beq	.L2
		.LVL4:
		.LBB13:
   11 newline
   12 %end
?L unused
   13 fredfred=5
				ldr	r3, .L8+4
				ldr	r3, [r5, r3]
				ldr	r2, [sp, #1268]
				ldr	r3, [r3]
				cmp	r2, r3
				bne	.L7
				addw	sp, sp, #1276
				@ sp needed
				pop	{r4, r5, r6, r7, pc}
		.L7:
				bl	__stack_chk_fail(PLT)
		.LVL14:
		.L9:
				.align	2
		.L8:
				.word	_GLOBAL_OFFSET_TABLE_-(.LPIC0+4)
				.word	__stack_chk_guard(GOT)
				.word	FREDFRED(GOT)
				.word	.LANCHOR0-(.LPIC1+4)
		.LFE186:
				.align	1
				.global	main
				.thumb
				.thumb_func
		main:
		.LFB185:
   14 fred(x'e8')
				movs	r0, #232
				bl	FRED.10027(PLT)
		.LVL17:
		.LBB20:
		.LBB21:
				movs	r0, #0
				bl	exit(PLT)
		.LVL18:
		.LBE21:
		.LBE20:
		.LFE185:
				.section	.rodata
				.align	2
				.set	.LANCHOR0,. + 0
		.LC1:
				.byte	7
				.ascii	"Test ok\000"
				.space	247
		.Letext0:
   15 %endofprogram
   17 Statements compiled
				sub	r3, r4, #232
				cmp	r3, #1
				bls	.L2
		.L3:
		.LVL5:
		.LBE13:
		.LBB14:
				subs	r4, r4, #129
		.LVL6:
				cmp	r4, #8
				bhi	.L4
		.LVL7:
		.L2:
		.LBE14:
		.LBB15:
				mov	r7, #256
				mov	r2, r7
				ldr	r1, .L8+12
		.LPIC1:
				add	r1, pc
				add	r4, sp, #1012
				mov	r0, r4
				bl	memcpy(PLT)
		.LVL8:
				mov	r2, r7
				mov	r1, r4
				add	r6, sp, #756
				mov	r0, r6
				bl	memcpy(PLT)
		.LVL9:
				mov	r2, r7
				mov	r1, r6
				mov	r0, r4
				bl	memcpy(PLT)
		.LVL10:
		.LBE15:
		.LBB16:
		.LBB17:
				movs	r2, #240
				addw	r1, sp, #1028
				mov	r0, sp
				bl	memcpy(PLT)
		.LVL11:
				ldm	r4, {r0, r1, r2, r3}
				bl	_imp_printstring(PLT)
		.LVL12:
		.L4:
		.LBE17:
		.LBE16:
		.LBB18:
		.LBB19:
				bl	_imp_newline(PLT)
		.LVL13:
		.LBE19:
		.LBE18:
