mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-10-21 17:24:39 +00:00
c64713c913
Also fixed problem with nested ternary. Closes #185.
11 lines
183 B
NASM
11 lines
183 B
NASM
// Tests subtracting a number from a literal char
|
|
.pc = $801 "Basic"
|
|
:BasicUpstart(main)
|
|
.pc = $80d "Program"
|
|
main: {
|
|
.label SCREEN = $400
|
|
lda #'a'-1
|
|
sta SCREEN
|
|
rts
|
|
}
|