[Coco] Programming help

Retro Canada retrocanada76 at gmail.com
Tue Jun 25 08:16:41 EDT 2013


it's a label i wont make any difference if you skip it. 

Sent from my iPhone

On 2013-06-25, at 9:13 AM, "Bill" <cwgordon at carolina.rr.com> wrote:

> I’m trying to write an assembly language routine, and having what’s probably
> a very simple problem. 
> 
> 
> 
> The listing is as follows:
> 
> 
> 
> 10          NAM   B256 ß This is the culprit. Nothing I do will make it
> right.
> 
> 70          ORG   $0EOO
> 
> 80          ORCC #$50
> 
> 90          LDX   #$8000
> 
> 100         LDY   #$FFC0      *BANK 0
> 
> 110   COPY  STB   $FFDE
> 
> 120         LDB   O,Y
> 
> 130         LDA   O,X
> 
> 140         LDB   $08,Y *BANK 00/00
> 
> 150         STB   $FFDF
> 
> 
> 
> Everything else is fine, but I cannot get the first command correct. No
> matter what I do, it comes up with a ‘BAD OPCODE’ error.
> 
> 
> 
> Help??
> 
> 
> 
> Thanks
> 
> 
> 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco



More information about the Coco mailing list