         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				NO_APP
		.Ltext0:
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#0
    2   %own %integer %array negarray(-1:1) = 42, 1234567, 17
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
    3   %const %short %integer %array index(0:1) = 0, -1
    4   %integer i
    5
    6   i = 1
    7
    8   write(negarray(index(i)), 4);   ! Should be negarray(-1) which is 42.
		 		pea 4.w
		 		pea 42.w
		 		jsr _imp_writeint
		.LVL2:
		.LBB6:
		.LBB7:
		 		jsr _imp_newline
		.LVL3:
		.LBE7:
		.LBE6:
		.LBB8:
		.LBB9:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL4:
		.LBE9:
		.LBE8:
		.LFE185:
		.Letext0:
    9   newline
   10
   11 %endofprogram
    8 Statements compiled
