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
2019-04-07 17:59:44 +02:00

13 lines
224 B
NASM

// 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
}