mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-10-02 22:56:11 +00:00
15 lines
239 B
NASM
15 lines
239 B
NASM
// Tests that inline assembler is optimized
|
|
.pc = $801 "Basic"
|
|
:BasicUpstart(main)
|
|
.pc = $80d "Program"
|
|
.label SCREEN = $400
|
|
main: {
|
|
lda #0
|
|
sta SCREEN
|
|
sta SCREEN+1
|
|
sta SCREEN+2
|
|
sta SCREEN+3
|
|
sta SCREEN+4
|
|
rts
|
|
}
|