         Edinburgh IMP77 Compiler - Version 8.4
    1 ! test by:  ./i2c --stdout --tidy test/shiftadd.imp | fgrep "ATOM1 = "|head -1
				.section	".text"
		.Ltext0:
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
    2 %begin
		.LVL0:
				save	%sp, -176, %sp
		.LVL1:
    3   %integer atom1
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
		.LBB4:
		.LBB5:
				call	exit, 0
				 mov	0, %o0
		.LVL3:
		.LBE5:
		.LBE4:
				nop
		.LFE185:
		.Letext0:
    4
    5   atom1 = (atom1-106)>>1+91;     !a,an->v  na,nan->n
    6
    7   ! This minimal test seems to generate correct C but the same code in test/pass1.imp gives:
    8
    9   ! //   1226                                          atom1 = (atom1-106)>>1+91;     !a,an->v  na,nan->n
   10   ! ATOM1 = (unsigned int)ATOM1 - 106 >> 1 + 91;
   11
   12   ! reproduce it with: ./i2c --stdout --tidy test/pass1.imp | fgrep "ATOM1 = (unsigned int)ATOM1"
   13
   14 %endofprogram
    4 Statements compiled
