         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				NO_APP
		.Ltext0:
				.align	2
				.globl	main
		main:
		.LFB185:
		.LVL0:
		 		link.w %fp,#-768
		 		move.l %a2,-(%sp)
		 		move.l %d2,-(%sp)
    2   %integer inum
		 		move.l 12(%fp),-(%sp)
		 		move.l 8(%fp),-(%sp)
		 		jsr _imp_initialise
		.LVL1:
    3   %real rnum
    4   %string (255) str = "improperly initialised?"
    5
    6   inum = 0123
    7   inum = 123
		 		pea 255.w
		 		pea -768(%fp)
		 		move.l %fp,%d2
		.LVL2:
		 		add.l #-256,%d2
		.LVL3:
		 		move.l %d2,-(%sp)
		 		lea _imp_strncpy,%a2
		 		jsr (%a2)
		.LVL4:
    8   inum = X'AA'
    9   inum = X'aa'
   10   inum = K'77'
   11   inum = B'1101'
   12   inum = 10_0123
   13   inum = 16_aa
   14   inum = 16_AA
   15   inum = M'FRED'
   16   inum = M'fred'
   17   !! NOT IMP77: inum = 'FRED'
   18   !! NOT IMP77: inum = 'fred'
   19   inum = 8_77
   20   inum = 2_1101
   21
   22   rnum = 0123
   23   rnum = 0123.234
   24   rnum = 0123.0234
   25   rnum = 0123.4@2
   26   rnum = 0123.4@-2
   27   rnum = 0123@2
   28   rnum = 0123@+2
   29   rnum = 0123@-2
   30   rnum = 123
   31   rnum = .234
   32   rnum = .234@3
   33   rnum = 0123.
   34   rnum = 0123.@4
   35   rnum = 0.@3
   36   !rnum = 0.@      ;! rejected forms:
   37   !rnum = .@3
   38
   39   str = "improperly assigned?"
   40   !! NOT IMP77: str = 'ditto, old style'
   41
		 		pea 255.w
		 		pea -512(%fp)
		 		move.l %d2,-(%sp)
		 		jsr (%a2)
		.LVL5:
		.LBB8:
		.LBB9:
		 		lea (32,%sp),%sp
		 		clr.l -(%sp)
		 		jsr exit
		.LVL6:
		.LBE9:
		.LBE8:
		.LFE185:
		.Letext0:
   42 %endofprogram
   33 Statements compiled
