git @ Cat's Eye Technologies SixtyPical / master eg / rudiments / loop.60p
master

Tree @master (Download .tar.gz)

loop.60p @masterraw · history · blame

// Should print ABCDEFGHIJKLMNOPQRSTUVWXYZ

include "chrout.60p"

define main routine
  trashes a, y, z, n, c
{
    ld y, 65
    repeat {
        ld a, y
        call chrout
        inc y
        cmp y, 91
    } until z
}