         Edinburgh IMP77 Compiler - Version 8.4
    1 ! A test of dynamic loading!  (not yet implemented.  See dltest.c for the mechanism.)
				.option nopic
		.Ltext0:
				.align	1
				.globl	main
		main:
		.LFB185:
    2 %begin
		.LVL0:
				add	sp,sp,-544
				sd	ra,536(sp)
				lui	a5,%hi(__stack_chk_guard)
				ld	a5,%lo(__stack_chk_guard)(a5)
				sd	a5,520(sp)
    3   %dynamic %routine %spec system(%longinteger pointer64)
				call	_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
				lbu	a5,8(sp)
				addw	a5,a5,1
				add	a4,sp,528
				add	a5,a4,a5
				sb	zero,-520(a5)
				add	a0,sp,9
				call	SYSTEM
		.LVL3:
		.LBB12:
		.LBB13:
				li	a0,0
				call	exit
		.LVL4:
		.LBE13:
		.LBE12:
		.LFE185:
		.Letext0:
    9   system(ADDR(command)+1)
				li	a2,255
				add	a1,sp,264
				add	a0,sp,8
				call	_imp_strncpy
		.LVL2:
   10
   11 %endofprogram
    6 Statements compiled
