lda $ba and #%00001011 ;Restrict range of the current device number. ora #%00001000 ;Make sure it is at least $08 (i.e. in the range $08-$0b) sta $ba