The Sensex nosedived over 500 points on weak global cues while the Nifty ended below 17,650 mark. Metal and PSU banks were the worst hit.