1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/ternary-2.asm

13 lines
224 B
NASM
Raw Normal View History

// Tests the ternary operator - when the condition is constant
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
main: {
.label SCREEN = $400
lda #'a'
sta SCREEN
lda #'b'
sta SCREEN+1
rts
}