         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.align	1
				.global	main
				.thumb
				.thumb_func
		main:
		.LFB185:
				@ args = 0, pretend = 0, frame = 0
				@ frame_needed = 0, uses_anonymous_args = 0
		.LVL0:
				push	{r3, lr}
    2   %own %integer %array negarray(-1:1) = 42, 1234567, 17
				bl	_imp_initialise(PLT)
		.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.
				movs	r1, #4
				movs	r0, #42
				bl	_imp_writeint(PLT)
		.LVL2:
		.LBB6:
		.LBB7:
				bl	_imp_newline(PLT)
		.LVL3:
		.LBE7:
		.LBE6:
		.LBB8:
		.LBB9:
				movs	r0, #0
				bl	exit(PLT)
		.LVL4:
		.LBE9:
		.LBE8:
		.LFE185:
		.Letext0:
    9   newline
   10
   11 %endofprogram
    8 Statements compiled
