Question about condition codes...

Mike Laman mlaman@cox.net
Mon Nov 4 22:51:00 GMT 2002


Hi,

I've looked at some implementations (md and c files). I'm trying to
understand
why the pdp11, mn10200, and v850 use the move instruction they say they
are a non_0hit and the condition code is not affected.
Also if they move a 0, they subtract the register from itself to zero the
value,
they clobber the condition codes.

What am I missing here? Why aren't the condition codes set by these moves
and move zeros to show the affects on the condition code bits insyead of
showing a no effect

I'm really misunderstanding something here.

Thanks,
Mike



More information about the Gcc mailing list