         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 f(%integer i,j,k,%integername line,length)
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
		.LBB10:
    3 %record(f) spacea,spaceb
    4 %record(f) %name worka,workb
    5 %integer i,j,x
    6        i=3; j=4
    7 worka==spacea; workb==spaceb
    8 worka_line==i
    9 workb_length==j
   10        x=i+4+worka_line*workb_length
   11 %if x=19 %then printstring("TEST OK") %else printstring("Failed")
   12 %endofprogram
		 		move.l %fp,%d2
		.LVL2:
		 		add.l #-256,%d2
		.LVL3:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea .LC0
		 		move.l %d2,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL4:
		 		move.l %fp,%d4
		.LVL5:
		 		add.l #-512,%d4
		.LVL6:
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL7:
		 		lea (32,%sp),%sp
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL8:
		.LBE10:
		.LBB11:
		.LBB12:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL9:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL10:
		.LDL1:
		.LBE12:
		.LBE11:
		.LBB13:
		.LBB14:
		 		lea (268,%sp),%sp
		 		clr.l -(%sp)
		 		jsr exit
		.LVL11:
		.LBE14:
		.LBE13:
		.LFE185:
		.Letext0:
   14 Statements compiled
