Tokyo stocks ended lower Thursday as earlier gains in exporters boosted by a weaker yen were more than offset by selling of semiconductor issues tracking recent weakness in their U.S. counterparts.