Embedded serial program design