yay!

Welcome back to our Commodore Discussion forum. If you have a question, comment, problem, or just want to chat about Commodore, post it here for free.

Have some fun and talk to others interested in the Old and New Commodore world.

Moderators: wiskow, Trazan

Post Reply
dented42
Posts: 8
Joined: Mon May 22, 2006 6:58 pm
Location: Salt Lake City, Utah
Contact:

yay!

Post by dented42 »

lets see...
I type 'monitor' to enter the builtin monitor
type:
a 01300 lda $47
a 01302 jsr $ffd2
a 01305 rts
x

I get a ready prompt and type in:
sys dec("1300")
G
and a g appears on the screen.
YAY! mind you I was expecting an A, but I'm not complaining
Time is an illusion.
Lunchtime doubly so.
- Ford Prefect
MacbthPSW
Posts: 12
Joined: Tue May 23, 2006 8:36 pm
Location: Thunder Bay, Canada

Re: yay!

Post by MacbthPSW »

a 01300 lda $47

YAY! mind you I was expecting an A, but I'm not complaining
Since you started a new thread, I don't know if you were following my example or not...

But you have two mistakes in that one line. It should be
a 01300 lda #$41
The # is important - it means that you want to load the value $41 into the accumulator, rather than the value in location $41. If you got a G displayed, then you probably did a lda #$47, but didn't type the # in when you posted here.
Post Reply