-- dug
-R!
The ONE_BOTTLE label isn't gone to by anything else in the program, and
the one instruction which does go to it, is immediately before it.
So, what's the reason for it?
--
$a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca
);{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "$@[$a%6
]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}
> Douglas Hunter wrote:
> [snip]
>
>> branch ONE_BOTTLE # 'bout time for a liver transplant
>>
>>ONE_BOTTLE: # it's been fun
>>
>
> The ONE_BOTTLE label isn't gone to by anything else in the program, and
> the one instruction which does go to it, is immediately before it.
>
> So, what's the reason for it?
Optimizer test?
$ imcc -O1p -d60 beer.pasm 2>&1 | head
dead branch deleted N_BOTTLES:
dead branch deleted ONE_BOTTLE:
block 4 label ONE_BOTTLE deleted
99 bottles of beer on the wall,
SCNR,
leo
> The ONE_BOTTLE label isn't gone to by anything else in the program, and
> the one instruction which does go to it, is immediately before it.
>
> So, what's the reason for it?
>
>
Lack of experience. Thanks for the pointer.
-- dug
Thanks, applied.
leo