Yes... , i don't know anything about flowcode, but the rotate instruction in the pic is always done through carry, then you should clear Status,C bit (carry) just before the rotate.
But using high-level languages you never can be sure about what is really happening, there are in some languages the rotate-with-carry and rotate-without-carry  instructions, but i don't know flowcode.

Anyway you can try clearing status,c bit just before rotating, perhaps this works.

2009/9/20 Matthew Ayres <>

On Sun, Sep 20, 2009 at 6:31 PM, P Zoltan <> wrote:
On Wed, 16 Sep 2009 16:56:55 +0200, Matthew Ayres
<> wrote:

> Using flowcode I'm performing a right-rotation on variable x on a P16F84.

 How looks the code exactly? And in what is it written (C, ASM, flowcode)?

 I can think to some intruction "shift right with carry", which takes the
value from the carry bit and places it in the  most significant bit of the


I have at least determined that it's some kind of 6-bit value.

Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
Ktechlab-devel mailing list