; This program adds 1 to register A until it equals 64, then halts. ldb 1 loop: add b cmp 64 jnz loop hlt