The instrument that measures both AC and DC is the "moving iron ammeter." This type of ammeter measures the average value of the current, and its design allows it to work for both AC and DC. The other options listed are not suitable for measuring both AC and DC.