When you have assembled the wall, tip it into place, and align it with the layout marks on the floor. Use wood shingles to shim between the top plate and the underside of each joist. Make sure the wall is plumb; then nail through the top plate and into the joists using two 16d nails at each location.
More details see:
http://books.google.ca/books?id=v_ZW_peCTLkC&pg=PA102&lpg=PA102&dq=%22tip+the+wall%22&source=web&ots=GrCgiKyQkD&sig=o2xz6t2vJqRUkMIvCVPdA_EDd-s&hl=en&sa=X&oi=book_result&resnum=5&ct=result#PPA103,M1
More details see:
http://books.google.ca/books?id=v_ZW_peCTLkC&pg=PA102&lpg=PA102&dq=%22tip+the+wall%22&source=web&ots=GrCgiKyQkD&sig=o2xz6t2vJqRUkMIvCVPdA_EDd-s&hl=en&sa=X&oi=book_result&resnum=5&ct=result#PPA103,M1