c765a5a975
!= 32 bits. This might need a bit more thought (i.e. why use long here to begin with, when int32_t might be a better choice), but for now it's good enough. From Ross Harvey in PR 3450, extended by me to cover the rest of the opcode constants and masks.