Don't use bitwise operations on this nmber.  It may be more than 32 bits.
Removing duplication in the parser.