         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
		.LVL0:
				save	%sp, -176, %sp
		.LVL1:
    2   %own %integer %array negarray(-1:1) = 42, 1234567, 17
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
    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.
				mov	4, %o1
				call	_imp_writeint, 0
				 mov	42, %o0
		.LVL3:
		.LBB6:
		.LBB7:
				call	_imp_newline, 0
				 nop
		.LVL4:
		.LBE7:
		.LBE6:
		.LBB8:
		.LBB9:
				call	exit, 0
				 mov	0, %o0
		.LVL5:
		.LBE9:
		.LBE8:
				nop
		.LFE185:
		.Letext0:
    9   newline
   10
   11 %endofprogram
    8 Statements compiled
