         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,#-4352
		 		movem.l #15408,-(%sp)
    2 %INTEGER I,J,JJ,Fail
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
		 		addq.l #8,%sp
		 		moveq #70,%d2
    3       JJ=0; Fail=0
		 		clr.l %d0
		.LBB12:
    4 %FOR I=1,1,70 %CYCLE
		 		clr.l %d1
    5       %BEGIN
    6       %BYTEINTEGERARRAY A(0:4095)
    7       J=ADDR(A(0))
		 		move.l %fp,%d3
		.LVL2:
		 		add.l #-4096,%d3
		.LVL3:
		.LBE12:
		 		tst.l %d2
		 		jeq .L3
		.LVL6:
		.L2:
		.LDL1:
    8       %END
    9       %IF JJ#J %THEN %START
		 		cmp.l %d3,%d0
		 		jeq .L4
   10          Fail=1 %and WRITE(J,5) %AND NEWLINE %UNLESS JJ=0
		 		tst.l %d0
		 		jeq .L4
		.LVL7:
		 		pea 5.w
		 		move.l %d3,-(%sp)
		 		jsr (%a3)
		.LVL8:
		.LBB16:
		.LBB15:
		 		jsr (%a2)
		.LVL9:
		 		addq.l #8,%sp
		.LBE15:
		.LBE16:
   11          JJ=J
		 		moveq #1,%d5
		 		move.l %d3,%d4
		 		jra .L2
		.LVL4:
		.L4:
		 		subq.l #1,%d2
		.LVL5:
		 		move.l %d4,%d0
		 		move.l %d5,%d1
		 		jra .L4
		.LVL10:
		.L3:
   12       %FINISH
		 		lea _imp_writeint,%a3
		.LBB13:
		.LBB14:
		 		lea _imp_newline,%a2
		.LBE14:
		.LBE13:
   13 %REPEAT
   14       %if Fail=0 %then printstring("Test OK")
		 		tst.l %d1
		 		jeq .L6
		.LVL11:
		.L5:
		.LBB17:
		.LBB18:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL12:
		.L6:
		.LBE18:
		.LBE17:
		.LBB19:
   15 %ENDOFPROGRAM
		 		move.l %fp,%d2
		.LVL13:
		 		add.l #-4096,%d2
		.LVL14:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea .LC0
		 		move.l %d2,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL15:
		 		move.l %fp,%d4
		.LVL16:
		 		add.l #-4352,%d4
		.LVL17:
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL18:
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL19:
		.LBE19:
		.LBB20:
		.LBB21:
		 		lea (-220,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL20:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL21:
		 		add.l %d3,%sp
		 		jra .L5
		.LBE21:
		.LBE20:
		.LFE185:
		.Letext0:
   16 Statements compiled
