$2^a-2^b=2^b(2^c-1)$ with $c=a-b\ge1$. By unique factorization (power of $2$ times odd number), different pairs $(b,c)$ give different numbers.
For each $c$, count $b\ge0$ with $2^b(2^c-1)<1000$, so $c=1,\dots,9$ give $10,9,8,7,6,4,3,2,1$ values (the odd parts $1,3,7,15,31,63,127,255,511$), and $c\ge10$ gives none.