1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-03 14:56:30 +00:00
kickc/src/test/ref/inline-asm-optimized.asm

15 lines
239 B
NASM
Raw Normal View History

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