dspemu.c: condensed getlastbit()