Markets in Asia ended with gains despite all three major U.S. indexes closing lower in the last session.