         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.align	1
				.thumb
				.thumb_func
		TEST.10026:
		.LFB186:
				@ Volatile: function does not return.
				@ args = 0, pretend = 0, frame = 64
				@ frame_needed = 0, uses_anonymous_args = 0
		.LVL7:
				push	{lr}
				sub	sp, sp, #68
				ldr	r3, .L6
		.LPIC0:
				add	r3, pc
				ldr	r2, .L6+4
				ldr	r3, [r3, r2]
				ldr	r3, [r3]
				str	r3, [sp, #60]
    2   %routine test(%name param)         ;! ia1         ia2
				@ args = 0, pretend = 0, frame = 0
				@ frame_needed = 0, uses_anonymous_args = 0
		.LVL0:
				push	{r3, lr}
				bl	_imp_initialise(PLT)
		.LVL8:
    3     write(addr(param),0)  ; newline  ;! 2145833816  2145833816    are these the same because it's the address of the
				movs	r1, #0
				bl	_imp_writeint(PLT)
		.LVL1:
		.LBB12:
		.LBB13:
				bl	_imp_newline(PLT)
		.LVL2:
		.LBE13:
		.LBE12:
    4                                       !                           %name param rather than the array it points to?
    5     write(sizeof(param),0); newline  ;! 4           4
				movs	r1, #0
				movs	r0, #12
				bl	_imp_writeint(PLT)
		.LVL3:
		.LBB14:
		.LBB15:
				bl	_imp_newline(PLT)
		.LVL4:
		.LBE15:
		.LBE14:
    6     write(typeof(param),0); newline  ;! 1           1
				movs	r1, #0
				movs	r0, #4
				bl	_imp_writeint(PLT)
		.LVL5:
		.LBB16:
		.LBB17:
				bl	_imp_newline(PLT)
		.LVL6:
		.LBE17:
		.LBE16:
    7   %end
    8
				pop	{r3, pc}
		.LFE186:
				.align	1
				.global	main
				.thumb
				.thumb_func
		main:
		.LFB185:
    9   %integerarray ia1(3:5)
   10   %integerarray ia2(2:4,3:6)
   11
   12   test(ia1)
				mov	r0, sp
				bl	TEST.10026(PLT)
		.LVL9:
   13   test(ia2)
				add	r0, sp, #12
				bl	TEST.10026(PLT)
		.LVL10:
		.LBB18:
		.LBB19:
				movs	r0, #0
				bl	exit(PLT)
		.LVL11:
		.L7:
				.align	2
		.L6:
				.word	_GLOBAL_OFFSET_TABLE_-(.LPIC0+4)
				.word	__stack_chk_guard(GOT)
		.LBE19:
		.LBE18:
		.LFE185:
		.Letext0:
   14
   15 %endofprogram
   14 Statements compiled
