Ok, I get it, I was a bit slow on the uptake. The first line places the MSBit of RAM into Carry and then the second actually performs the rotate. Thanks, Sean At 01:24 PM 6/24/99 +1000, you wrote: >Sean Breheny wrote: > >>Rotate a value without using carry. >> >> >rlf RAM,w >> >rlf RAM >> >> I'm afraid I don't get this one. Why isn't carry affected? In fact, if it >> weren't affected,the first line would do nothing to affect the second. > >It does 'affect' the carry, but it doesn't 'use' it. >In other words rotate the byte left once. > >-- >Best regards > >Tony > >'The Engine' - Design your own programmer. > >http://www.picnpoke.com >Email picnpoke@cdi.com.au > | | Sean Breheny | Amateur Radio Callsign: KA3YXM | Electrical Engineering Student \--------------=---------------- Save lives, please look at http://www.all.org Personal page: http://www.people.cornell.edu/pages/shb7 mailto:shb7@cornell.edu ICQ #: 3329174 ________________________________________________________ NetZero - We believe in a FREE Internet. Shouldn't you? Get your FREE Internet Access and Email at http://www.netzero.net/download/index.html