Hi.
I'm re-learning to program the Dragon in assembly language after a thirty year break. LOL.
Can anyone explain why the following assembly language syntax doesn't (seem to) assemble correctly using LWASM (Win64)?
I've reserved a single byte of memory using the instruction `rmb' and the label `score'.
score rmb $01
I then try to load the contents of `score' into accumulator A like this.
lda score
But when I run the program, something's not right and the code fails to execute correctly.
On the other hand if I do this, the program works perfectly.
ldu #score
lda ,u
Anyone have any idea why the first example fails?
Cheers.