Design and performance of the spin asymmetries of the nucleon experiment