1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/const-int-cast-problem.asm

20 lines
303 B
NASM

// Test a problem with converting casted constant numbers to fixed type constant integers
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
.label SCREEN = $400
main: {
ldx #$79
__b1:
txa
lsr
lsr
lsr
lsr
sta SCREEN,x
inx
cpx #$7b
bne __b1
rts
}