1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-21 17:24:39 +00:00
kickc/src/test/ref/literal-char-minus-number.asm
Jesper Gravgaard c64713c913 Fixed char - number. Closes #184.
Also fixed problem with nested ternary. Closes #185.
2019-04-25 07:58:17 +02:00

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
}