mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-20 02:32:36 +00:00
13 lines
224 B
NASM
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
|
||
|
}
|