         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				NO_APP
		.Ltext0:
				.section	.rodata
		.LC0:
		 		.byte	7
		 		.string	"Test OK"
		 		.zero	247
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#-512
		 		movem.l #14368,-(%sp)
    2 %recordformat rf(%short h0,%byte b2,b3)
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
		.LBB14:
		.LBB15:
    3 %ownrecord(rf) x1,x2
    4 %integerfn fred
    5 %integer k
    6 %record(rf)r0,r1,r2
    7 k=13
    8 r0_h0=12
    9 x1_h0=17
		 		move.w #17,X1.5994
   10 x2=x1
		 		move.l X1.5994,X2.5995
		.LVL2:
		.LBE15:
		.LBE14:
		.LBB16:
   11 r1=r0
   12 r2=r1
   13 %result=r2_h0
   14 %end
   15 %if fred=12 %and x2_H0=17 %then printstring("Test OK")
   16 %endofprogram
   16 Statements compiled
		 		move.l %fp,%d2
		.LVL3:
		 		add.l #-256,%d2
		.LVL4:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea .LC0
		 		move.l %d2,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL5:
		 		move.l %fp,%d4
		.LVL6:
		 		add.l #-512,%d4
		.LVL7:
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL8:
		 		lea (32,%sp),%sp
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL9:
		.LBE16:
		.LBB17:
		.LBB18:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL10:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL11:
		.LDL1:
		.LBE18:
		.LBE17:
		.LBB19:
		.LBB20:
		 		lea (268,%sp),%sp
		 		clr.l -(%sp)
		 		jsr exit
		.LVL12:
		.LBE20:
		.LBE19:
		.LFE185:
				.comm	X1.5994,4,2
				.comm	X2.5995,4,2
		.Letext0:
