Added functions for adding to register A.