         Edinburgh IMP77 Compiler - Version 8.4
    1 ! A test of dynamic loading!  (not yet implemented.  See dltest.c for the mechanism.)
		.Ltext0:
				.align	2
				.global	main
		main:
		.LFB185:
    2 %begin
		.LVL0:
				sub	sp, sp, #560
				stp	x29, x30, [sp]
				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, 552]
				mov	x3,0
    3   %dynamic %routine %spec system(%longinteger pointer64)
				bl	_imp_initialise
		.LVL1:
    4   ! By making this dynamic, it is linked *at run time*
    5
    6   %string (255) command = "/bin/ls -la"
    7
    8   charno(command, length(command)+1) = 0
				ldrb	w0, [x29, 40]
				add	w0, w0, 1
				strb	wzr, [x19, w0, sxtw]
				add	x0, x19, 1
				bl	SYSTEM
		.LVL3:
		.LBB12:
		.LBB13:
				mov	w0, 0
				bl	exit
		.LVL4:
		.LBE13:
		.LBE12:
		.LFE185:
		.Letext0:
    9   system(ADDR(command)+1)
				add	x19, x29, 40
				mov	x2, 255
				add	x1, x29, 296
				mov	x0, x19
				bl	_imp_strncpy
		.LVL2:
   10
   11 %endofprogram
    6 Statements compiled
