SMS dit: Writing TSRs Through C