Added compare to register A functions.