Error detection in SS
Now handles endaddr == begaddr