         Edinburgh IMP77 Compiler - Version 8.4
    1 %BEGIN
				NO_APP
		.Ltext0:
				.section	.rodata
		.LC0:
		 		.byte	8
		 		.string	"\nTest OK"
		 		.zero	246
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#-512
		 		movem.l #14368,-(%sp)
    2 %INTEGER I
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
		 		addq.l #8,%sp
    3       I=0
		 		clr.l %d2
    4       %CYCLE
    5          WRITE(I,2)
		 		lea _imp_writeint,%a2
		.LVL2:
		.L2:
		 		pea 2.w
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL3:
    6          I=I+1
		 		addq.l #1,%d2
		.LVL4:
    7       %REPEAT %UNTIL  I=4
		 		addq.l #8,%sp
		 		moveq #4,%d0
		 		cmp.l %d2,%d0
		 		jne .L2
		.L3:
		.LBB7:
    8       printstring("
		 		move.l %fp,%d2
		.LVL5:
		 		add.l #-256,%d2
		.LVL6:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea .LC0
		 		move.l %d2,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL7:
		 		move.l %fp,%d4
		.LVL8:
		 		add.l #-512,%d4
		.LVL9:
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL10:
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL11:
		.LBE7:
		.LBB8:
		.LBB9:
		 		lea (-220,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL12:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL13:
		.LBE9:
		.LBE8:
		.LBB10:
		.LBB11:
		 		add.l %d3,%sp
		 		clr.l -(%sp)
		 		jsr exit
		.LVL14:
		.LBE11:
		.LBE10:
		.LFE185:
		.Letext0:
    9 Test OK")
   10 %ENDOFPROGRAM
    9 Statements compiled
