Asia markets wrap: stocks, S Korean won tumble after N Korean attack