use BitVector.toLong() in InterpreterDock.peekDataForShip() to get proper sign-extension