Return void from get_reg_contents.