1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/inline-pointer-2.asm
2020-02-23 09:44:36 +01:00

13 lines
218 B
NASM

// Tests creating a literal pointer from two bytes
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
main: {
.label screen = 4*$100+$28
// *screen = 'a'
lda #'a'
sta screen
// }
rts
}