It's an archaic form of "yes", often used in poetry and literature to add a more dramatic or old-fashioned tone.