James Stanfield Royds, a lifelong geologist and a senior adviser to the vice chairman of the Continental Oil Co., died February 28 in a Greenwich, Conn., hospital after a crebral hemorrhage. He was 62.

Mr. Royds joined the oil company as an assistant geologist in 1939 after college and eventually became a member of the board of directors and senior vice president for worldwide exploration.

At various times in his career he was based in Denver, Egypt, Houston, and Manhattan, most often serving in the explorations section fo the firm.

In 1968 he was elected a senior vice president, and became a member of the board of directors in 1969. In 1975, at the age of 60, he resigned those positions and was named general manager of the company's worldwide minerals operations. He bacame a senior adviser to the firms's vice chairman last year.

Born in Verona, N.Y., on February 4, 1915, he received geology and civil engineering degrees from the University of Colorado, Denver, and soon afterwards joined the oil company.

Mr. Royds was a member of the American Association of Petroleum Geologists, and other professional organizations.

He is survived by his wife, the former Nancy Ruth Sullivan, of the home in Greenwich, Conn., by a daughter, Melissa, and by stepchildren, Spencer, Rachel, Elizabeth, Michael, and Nancy, all of Greenwich, Conn.