In Tokyo on Wednesday the Nikkei 225 added 0.64 percent to 17,029.28, while the Topix index gained 0.53 percent to 1,669.04.
On the other hand, the Mothers market dropped 2.15 percent to 783.78.
Condiments maker Bull-Dog Sauce (TYO: 2804) dropped 16 percent, the most the exchange allows in a day, to ¥530 after it revised its annual profit forecast from a gain of ¥500 million to a loss of ¥980 million due to its spending to repel a hostile takeover by hedge fund Steel Partners, which said that it was reducing its bid for Bull-Dog Sauce from ¥1,700 per share to ¥425 per share.
With machinery orders down 10.4 percent in June, much more than analysts had expected, machinery makers saw declines. Komatsu (TYO: 6301) fell 4.6 percent to ¥3,550 while Amada Co (TYO:6113), which produces metal cutting machines and automation systems, dropped 5.6 percent to ¥1,345.
Banks, down recently, saw gains after a series of declines. Mitsubishi UFJ (TYO: 8306; NYSE: MTU) gained 3.5 percent to ¥1.2 million, while Mizuho (TYO: 8411; NYSE: MFG) was up 3.6 percent to ¥712,000.
The telecommunications sector was also higher as new data showed that several mobile phone operators have gained subscribers.
NTT DoCoMo (TYO: 9437) was 3 percent higher to ¥171,000, while Softbank (TYO: 9984) was up 4.5 percent to ¥2,555 and KDDI (TYO: 9433) gained 5.2 percent to ¥808,000.
Besides the new subscriber data, KDDI was also reported to be joining with Kyocera (TYO: 6971; NYSE: KYO), its biggest shareholder, to apply for the necessary permits to offer wireless internet services.