[Coco] 6309 andcc z,v ?
darccml at hotmail.com
Mon Jun 11 20:47:35 EDT 2007
>Roger Taylor wrote:
> > While looking through an "as09.exe" assembler test file, I noticed the
> > following line:
> > andcc z,v ; alternate
>That looks to me like it clears the Z and V (zero and overflow) flags,
>based on the generated code.
>I would think that, by extension, you could do:
>and have the assemble as $1C $FE (andcc #$FE) since the carry flag is bit
>Also, by extension, I would expect
>to assemble as $1A $06 (orcc #$06) to set the specified flags.
Yes, the "Z,V" operand refers to the Condition Code flags, not the Zero and
Value registers of the 6309.
PC Magazines 2007 editors choice for best Web mailaward-winning Windows
More information about the Coco