Just read this short novella by Victor Hugo. Pretty good, captures the experience of knowing you get executed soon quite well, I imagine. Have you read it?