mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-29 03:56:15 +00:00
13 lines
218 B
NASM
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
|
|
}
|