Re: LZ: Rotating


[Prev][Next][Index][Thread]

Re: LZ: Rotating



On Sun, 14 Jul 1996, Carl Wang wrote:


> 1. Let's say A had a value of 10011011 and the carry flag was at 0.  If I
> do a RLA, would the value of A become 00110110 and carry become 1?


That's correct.


> 2.  Is there a command which allows me to read the carry flag (whether it
> was 1 or 0)? 


JP C,SOMEPLACE
JR C,SOMEPLACE
JP NC,SOMEPLACE
JR NC,SOMEPLACE


Barry


References: