[Coco] ASM question: LDA ,X

Jim OKeefe jimokeefe39 at gmail.com
Thu Jan 24 10:55:41 EST 2019


Edtasm throws the error "bad operand" on
 lda  0,x+

Jim

On Wed, Jan 23, 2019, 3:57 PM Salvador Garcia via Coco <coco at maltedmedia.com
wrote:

>  Thanks! This is interesting and I'll be sure to include it in my notes.
>
> Thank you both for your replies, much appreciated! Salvador
>
>
>     On Wednesday, January 23, 2019, 3:00:24 PM CST, William Astle <
> lost at l-w.ca> wrote:
>
>  <snipped>
>
> Also, as an aside, the "0,x" and ",x" operands actually have different
> encodings in the final result. They have the same result, but the ",x"
> one is faster. Many assemblers will optimize "0,x" to be ",x", but
> that's not something you can rely on.
>
>
> On 2019-0<snipped>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list