Method checkRegisterValue can be called with a negative integer value that would still be valid to be stored in a Short. However checkRange checks the value is btw 0 to MAX_REGISTER value in my opinion it should be btw Short.MIN_VALUE and Short.MAX_VALUE
Method checkRegisterValue can be called with a negative integer value that would still be valid to be stored in a Short. However checkRange checks the value is btw 0 to MAX_REGISTER value in my opinion it should be btw Short.MIN_VALUE and Short.MAX_VALUE