         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				NO_APP
		.Ltext0:
				.section	.rodata
		.LC1:
		 		.byte	7
		 		.string	"Test ok"
		 		.zero	247
				.align	2
		FRED.5988:
		.LFB186:
		.LVL19:
		 		link.w %fp,#0
    2 %externalinteger fredfred
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL20:
    3 %routine fred(%integer opcode)
		.LVL0:
		 		link.w %fp,#-1024
		 		movem.l #14368,-(%sp)
		 		move.l 8(%fp),%d2
    4 %externalintegerspec fredfred
    5 %integer i,j,k,l
    6 %string(11) ts
    7       ts="abcdef"
    8 i=1; j=2; k=3
    9 write(fredfred,5)
		 		pea 11.w
		 		pea -1024(%fp)
		 		pea -256(%fp)
		 		jsr _imp_strncpy
		.LVL1:
		 		pea 5.w
		 		move.l FREDFRED,-(%sp)
		 		jsr _imp_writeint
		.LVL2:
   10 %if opcode=x'9a' %or X'e8'<=opcode<=x'e9' %or x'81'<=opcode<=x'89' %then printstring("Test ok")
		 		lea (20,%sp),%sp
		 		cmp.l #154,%d2
		 		jeq .L2
		.LVL3:
		.LBB13:
   11 newline
   12 %end
?L unused
   13 fredfred=5
		 		movem.l -1040(%fp),#1052
		 		unlk %fp
		.LVL18:
		 		rts
		.LFE186:
				.align	2
				.globl	main
		main:
		.LFB185:
   14 fred(x'e8')
		 		move.l %d2,%d0
		 		add.l #-232,%d0
		 		moveq #1,%d1
		 		cmp.l %d0,%d1
		 		jcc .L2
		.L3:
		.LVL4:
		.LBE13:
		.LBB14:
		 		pea 232.w
		 		jsr FRED.5988
		.LVL21:
		.LBB20:
		.LBB21:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL22:
		.LBE21:
		.LBE20:
		.LFE185:
		.Letext0:
   15 %endofprogram
   17 Statements compiled
		 		add.l #-129,%d2
		.LVL5:
		 		moveq #8,%d0
		 		cmp.l %d2,%d0
		 		jcs .L4
		.LVL6:
		.L2:
		.LBE14:
		.LBB15:
		 		move.l %fp,%d2
		.LVL7:
		 		add.l #-512,%d2
		.LVL8:
		 		move.l #256,%d3
		 		move.l %d3,-(%sp)
		 		pea .LC1
		 		move.l %d2,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL9:
		 		move.l %fp,%d4
		.LVL10:
		 		add.l #-768,%d4
		.LVL11:
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d4,-(%sp)
		 		jsr (%a2)
		.LVL12:
		 		move.l %d3,-(%sp)
		 		move.l %d4,-(%sp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL13:
		.LBE15:
		.LBB16:
		.LBB17:
		 		lea (-220,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d3,-(%sp)
		 		move.l %d2,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL14:
		 		lea (12,%sp),%sp
		 		jsr _imp_printstring
		.LVL15:
		 		add.l %d3,%sp
		.LVL16:
		.L4:
		.LBE17:
		.LBE16:
		.LBB18:
		.LBB19:
		 		jsr _imp_newline
		.LVL17:
		.LBE19:
		.LBE18:
