cst 0 -> R0 cst 6 -> R2 start: cst enc (add R2 -> R2) -> R1 cmp R0, R1 gotoEQ fin cst 0 -> R1 goto start + 1 fin: halt R2