Carl McFarland, 74, an assistant attorney general in the Roosevelt administration and professor emeritus of law at the University of Virginia, died of cancer Wednesday at his home in Charlottesville.

Mr. McFarland was a special assistant to the attorney general in the Department of Justice's antitrust division during 1933-37, and assistant attorney general in charge of the lands division from 1937-39.

He became professor of law at the University of Virginia in 1958 and was named professor emeritus when he retired in 1975.

Mr. McFarland, a specialist on administrative law, had a private law practice here with the firms of Cummings & Stanley and McFarland & Sellers from 1931 to 1951.

He was a coeditor of the Revised Statutes of Montana and, from 1951-58, was president of Montana State University (now the University of Montana), where he also was professor of law.

Mr. McFarland served as chairman of the American Bar Association's special committee on administrative law and was the principal drafter of the 1946 Federal Administrative Procedure Act, for which he received the association's service in the cause of American jurisprudence."

Mr. McFarland also played a major role in the drafting and enactment of the Virginia statutes on fair administrative regulations and served as a consultant to the Virginia Code Commission.

He was born in the state of Washington and earned a bachelor's and a master's degree from the University of Montana. He also earned his law degree there in 1930 and a doctorate in law from Harvard Law School in 1932.

Mr. McFarland was the author of several books in his field.

His memberships included the American Bar Association, the American Law Institute, the Order of the Coif and the Cosmos Club in Washington.

Survivors include his wife, Patricia Regan McFarland, of the home in Charlottesville.