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

Tree @0.19 (Download .tar.gz)

loop.60p @0.19raw · history · blame

// Include `support/${PLATFORM}.60p` before this source
// Should print ABCDEFGHIJKLMNOPQRSTUVWXYZ

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
}