.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
  jsr main
main: {
    lda #0
    ldx #$a
  b1:
    cpx #5
    bcc b2
    beq b2
    stx $ff
    clc
    adc $ff
  b2:
    dex
    cpx #0
    bne b1
    rts
}
