Many years ago, I purchased TA0CP because I was stuck.  I simply could not get a tiny 8-bit microcontroller to linearly search a lengthy data array in real time.  I found the solution in the <i>preface</i> of the work! Simply put the value that you are looking for at the end.  That way, you can eliminate checking for the end of the array in the search loop.  So, at least for me, I got mymoney&#x27;s worth after a couple of pages.