Optimise bsearch_demo code (40 -> 38 insns)
Optimise bsearch_demo code (40 -> 38 insns)

More importantly, eliminate stack traffic in the inner bsearch loop, and
reduce its size as well.
Removed hardcoded top-end loop boundary.

kulp/tenyr,kulp/tenyr,kulp/tenyr