update constants, passes tests for 2.1
Add a version test
switch from hardcoded constants to use the preprocessor
added sanity checks for REG GRP and INS constants