         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				NO_APP
		.Ltext0:
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#-1536
		 		movem.l #12344,-(%sp)
    2
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
    3   %string (255) big string = "Hello World, this is a long string"
    4
    5   print string(big string); newline
    6
		 		pea 255.w
		 		pea -1536(%fp)
		 		pea -256(%fp)
		 		jsr _imp_strncpy
		.LVL2:
		 		move.l %fp,%d3
		.LVL3:
		 		add.l #-512,%d3
		.LVL4:
		 		move.l #256,%d2
		 		move.l %d2,-(%sp)
		 		pea -1280(%fp)
		 		move.l %d3,-(%sp)
		 		lea memcpy,%a2
		 		jsr (%a2)
		.LVL5:
		.LBB18:
		.LBB19:
		 		lea (-224,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		move.l %d3,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL6:
		 		lea (12,%sp),%sp
		 		lea _imp_printstring,%a4
		 		jsr (%a4)
		.LVL7:
		.LBE19:
		.LBE18:
		.LBB20:
		.LBB21:
		 		add.l %d2,%sp
		 		lea _imp_newline,%a3
		 		jsr (%a3)
		.LVL8:
		.LBE21:
		.LBE20:
    7   length(big string) = 11
		 		move.b #11,-256(%fp)
		 		add.l #-256,%d3
		.LVL9:
		 		move.l %d2,-(%sp)
		 		pea -1024(%fp)
		 		move.l %d3,-(%sp)
		 		jsr (%a2)
		.LVL10:
		.LBB22:
		.LBB23:
		 		lea (-256,%sp),%sp
		 		move.l %sp,%d0
		 		move.l %d2,-(%sp)
		 		move.l %d3,-(%sp)
		 		move.l %d0,-(%sp)
		 		jsr (%a2)
		.LVL11:
		 		lea (12,%sp),%sp
		 		jsr (%a4)
		.LVL12:
		.LBE23:
		.LBE22:
		.LBB24:
		.LBB25:
		 		lea (268,%sp),%sp
		 		jsr (%a3)
		.LVL13:
		.LBE25:
		.LBE24:
		.LBB26:
		.LBB27:
		 		clr.l -(%sp)
		 		jsr exit
		.LVL14:
		.LBE27:
		.LBE26:
		.LFE185:
		.Letext0:
    8
    9   print string(big string); newline
   10
   11 %endofprogram
    8 Statements compiled
