// Illustrates how inline assembler referencing variables is illegal

const byte* SCREEN = $400;

void main() {
    for( __ssa byte i: 0..10) {
        asm {
            lda #'a'
            ldx i
            sta SCREEN,x
        }
    }

}