[Coco] assembly language question.
Darren A
mechacoco at gmail.com
Thu Feb 4 00:26:09 EST 2010
On 2/3/10, Bob Devries wrote:
> Gene,
>
> the orientation of the < is importnat of course, and will determine the 8 or
> 16 bit operation.
>
> To compare the X register with memory, it would need to read:
>
> cmpx >LblName
>
---
This is not correct. In this case, the use of < or > has nothing to
do with the size of the operation. It is a way to explicitly force the
assembler to use either Direct or Extended addressing. The register
involved in the operation determines the operation size.
Darren
More information about the Coco
mailing list