sd.s: corrected read loop branch conditions.

Branch until INY overflows to zero.