add_mul_ram performs 2 operations with results to ram