Great question. I, too, would love to know. I know that Martin used a close mic and a room mic on The Number of the Beast for the guitars, but the details on that (mic type, mic placement, mixing technique) are impossible to find.
I absolutely love the guitar tone on Piece of Mind. Been trying to recreate it for years.