         Edinburgh IMP77 Compiler - Version 8.4
    1 %BEGIN
				NO_APP
		.Ltext0:
				.section	.rodata
		.LC1:
		 		.byte	11
		 		.string	"***ERROR***"
		 		.zero	243
		.LC2:
		 		.byte	7
		 		.string	"TEST OK"
		 		.zero	247
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#-2440
		 		movem.l #14368,-(%sp)
    2 !***********************************************************************
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
    3 !*    TESTS CLEARING RECORDARRAY FOR OVERWRITING OFF END               *
    4 !***********************************************************************
    5 %INTEGER I
    6 %RECORDFORMAT F(%STRING(15)NAME,%INTEGER I,J,K,%LONGREAL X,Y, %C
    7       %LONGREALARRAY A(0:20))
    8 %RECORD(F)%ARRAY ONE(1:100)
    9 %RECORD(F)%ARRAY TWO(1:2)
   10       TWO(1)_NAME="PETE"
   11       %CYCLE I=1,1,100
   12          ONE(I)=0
		 		pea 255.w
		 		pea -2440(%fp)
		 		pea -904(%fp)
		 		jsr _imp_strncpy
		.LVL2:
		 		lea (20,%sp),%sp
		 		moveq #100,%d0
		.LVL3:
		.L2:
		.LDL1:
		 		subq.l #1,%d0
		.LVL4:
   13       %REPEAT
   14       %IF TWO(1)_NAME#"PETE" %THEN PRINTSTRING("***ERROR***")%else %c
		 		jne .L2
		.L3:
   15          printstring("TEST OK")
   16
		 		pea -2184(%fp)
		 		pea -904(%fp)
		 		jsr _imp_strcmp
		.LVL5:
		 		addq.l #8,%sp
		 		tst.l %d0
		 		jeq .L4
		.LBB13:
   17 %ENDOFPROGRAM
   11 Statements compiled
		 		move.l %fp,%d3
		.LVL6:
		 		add.l #-1160,%d3
		.LVL7:
		 		move.l #256,%d2
		 		move.l %d2,-(%sp)
		 		pea .LC1
		 		move.l %d3,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL8:
		 		move.l %fp,%d4
		.LVL9:
		 		add.l #-1928,%d4
		.LVL10:
		 		move.l %d2,-(%sp)
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL11:
		 		add.l #-256,%d3
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d3,-(%sp)
		 		jsr (%a2)
		.LVL12:
		.LBE13:
		.LBB14:
		.LBB15:
		 		lea (-220,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		move.l %d3,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL13:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL14:
		 		add.l %d2,%sp
		.LVL15:
		.L5:
		.LBE15:
		.LBE14:
		.LBB16:
		.LBB17:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL16:
		.L4:
		.LBE17:
		.LBE16:
		.LBB18:
		 		move.l %fp,%d2
		.LVL17:
		 		add.l #-1160,%d2
		.LVL18:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea .LC2
		 		move.l %d2,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL19:
		 		move.l %fp,%d4
		.LVL20:
		 		add.l #-1672,%d4
		.LVL21:
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL22:
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL23:
		.LBE18:
		.LBB19:
		.LBB20:
		 		lea (-220,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL24:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL25:
		 		add.l %d3,%sp
		 		jra .L5
		.LBE20:
		.LBE19:
		.LFE185:
		.Letext0:
