Here is what I want:
here's what I get:
I've tried <#string and #<string and #(<string) and <(#string). Is there any way to get ASM6 to make an immediate from an address?
Also is there any way to force zero-page?
Code:
.org $8000
string: .db "ABC"
lda #<string
sta <pointer ;$00
lda #>string
sta >pointer ;$01
string: .db "ABC"
lda #<string
sta <pointer ;$00
lda #>string
sta >pointer ;$01
here's what I get:
Code:
lda $0000
sta $0000
lda $0080
sta $0001
sta $0000
lda $0080
sta $0001
I've tried <#string and #<string and #(<string) and <(#string). Is there any way to get ASM6 to make an immediate from an address?
Also is there any way to force zero-page?