         Edinburgh IMP77 Compiler - Version 8.4
    1 !%permroutinespec    write(%integer  v,p);
		.Ltext0:
				.align	2
		TEST.7690:
		.LFB186:
    2 !%permroutinespec    newline
    3 !%primintegerfnspec      addr(%name p)
    4 !%primintegerfnspec      typeof(%name n)
    5 !%primintegerfnspec      sizeof(%name n)
    6
    7 %begin
		.LVL7:
				stp	x29, x30, [sp, -112]!
				add	x29, sp, 0
				str	x19, [sp, 16]
				adrp	x2, :got:__stack_chk_guard
				ldr	x2, [x2, #:got_lo12:__stack_chk_guard]
				ldr	x3, [x2]
				str	x3, [x29, 104]
				mov	x3,0
    8   %routine test(%name param)
		.LVL0:
				stp	x29, x30, [sp, -16]!
				add	x29, sp, 0
				bl	_imp_initialise
		.LVL8:
    9     write(addr(param),0)  ; newline
				mov	w1, 0
				bl	_imp_writelong
		.LVL1:
		.LBB36:
		.LBB37:
				bl	_imp_newline
		.LVL2:
		.LBE37:
		.LBE36:
   10     write(sizeof(param),0); newline
				mov	w1, 0
				mov	x0, 16
				bl	_imp_writelong
		.LVL3:
		.LBB38:
		.LBB39:
				bl	_imp_newline
		.LVL4:
		.LBE39:
		.LBE38:
   11     write(typeof(param),0); newline
				mov	w1, 0
				mov	w0, 4
				bl	_imp_writeint
		.LVL5:
		.LBB40:
		.LBB41:
				bl	_imp_newline
		.LVL6:
		.LBE41:
		.LBE40:
   12   %end
   13
				ldp	x29, x30, [sp], 16
				ret
		.LFE186:
				.align	2
				.global	main
		main:
		.LFB185:
   14   %integerarray ia1(3:5)
   15
   16   %integerarray ia2(2:4,3:6)
   17
   18
   19   write(addr(ia1),0)  ; newline
				add	x19, x29, 40
				mov	w1, 0
				mov	x0, x19
				bl	_imp_writelong
		.LVL9:
		.LBB42:
		.LBB43:
				bl	_imp_newline
		.LVL10:
		.LBE43:
		.LBE42:
   20   write(addr(ia1(3)),0)  ; newline
				mov	w1, 0
				mov	x0, x19
				bl	_imp_writelong
		.LVL11:
		.LBB44:
		.LBB45:
				bl	_imp_newline
		.LVL12:
		.LBE45:
		.LBE44:
   21   write(sizeof(ia1),0); newline
				mov	w1, 0
				mov	x0, 4
				bl	_imp_writelong
		.LVL13:
		.LBB46:
		.LBB47:
				bl	_imp_newline
		.LVL14:
		.LBE47:
		.LBE46:
   22   write(typeof(ia1),0); newline
				mov	w1, 0
				mov	w0, 1
				bl	_imp_writeint
		.LVL15:
		.LBB48:
		.LBB49:
				bl	_imp_newline
		.LVL16:
		.LBE49:
		.LBE48:
   23   test(ia1)
				mov	x0, x19
				bl	TEST.7690
		.LVL17:
   24
   25   write(addr(ia2),0)  ; newline
				add	x19, x29, 56
				mov	w1, 0
				mov	x0, x19
				bl	_imp_writelong
		.LVL18:
		.LBB50:
		.LBB51:
				bl	_imp_newline
		.LVL19:
		.LBE51:
		.LBE50:
   26   write(addr(ia2(2,3)),0)  ; newline
				mov	w1, 0
				mov	x0, x19
				bl	_imp_writelong
		.LVL20:
		.LBB52:
		.LBB53:
				bl	_imp_newline
		.LVL21:
		.LBE53:
		.LBE52:
   27   write(sizeof(ia2),0); newline
				mov	w1, 0
				mov	x0, 16
				bl	_imp_writelong
		.LVL22:
		.LBB54:
		.LBB55:
				bl	_imp_newline
		.LVL23:
		.LBE55:
		.LBE54:
   28   write(typeof(ia2),0); newline
				mov	w1, 0
				mov	w0, 4
				bl	_imp_writeint
		.LVL24:
		.LBB56:
		.LBB57:
				bl	_imp_newline
		.LVL25:
		.LBE57:
		.LBE56:
   29   test(ia2)
				mov	x0, x19
				bl	TEST.7690
		.LVL26:
		.LBB58:
		.LBB59:
				mov	w0, 0
				bl	exit
		.LVL27:
		.LBE59:
		.LBE58:
		.LFE185:
		.Letext0:
   30
   31 %endofprogram
   30 Statements compiled
