Code for reading signed fields