         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.align	2
				.global	main
		main:
		.LFB185:
		.LVL0:
				stp	x29, x30, [sp, -16]!
				add	x29, sp, 0
    2   %own %integer %array negarray(-1:1) = 42, 1234567, 17
				bl	_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.
				mov	w1, 4
				mov	w0, 42
				bl	_imp_writeint
		.LVL2:
		.LBB6:
		.LBB7:
				bl	_imp_newline
		.LVL3:
		.LBE7:
		.LBE6:
		.LBB8:
		.LBB9:
				mov	w0, 0
				bl	exit
		.LVL4:
		.LBE9:
		.LBE8:
		.LFE185:
		.Letext0:
    9   newline
   10
   11 %endofprogram
    8 Statements compiled
