[Coco] Programming help

Luis Fernández luis46coco at hotmail.com
Sat Jun 29 03:09:25 EDT 2013


I have not read everything and am not an expert in assembler but at first glance I see some O instead of zero 0
in:
70 ORG $ 0EOO
120 LDB O, Y
130 LDA O, X



> From: cwgordon at carolina.rr.com
> To: coco at maltedmedia.com
> Date: Tue, 25 Jun 2013 08:13:38 -0500
> Subject: [Coco] Programming help
> 
> 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