Implement binary search in assembly