Re: LZ: Rotating


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

Re: LZ: Rotating



Carl Wang wrote:
> 
> Sorry if I'm posting such stupid questions, (beginner, hope you
> understand)  but I have two more questions.
> 
> 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?
Never used the command in code writen by me so I am no help here


> 2.  Is there a command which allows me to read the carry flag (whether it
> was 1 or 0)?
try CALL_C( , CALL_NC( , JUMP_C( , JUMP_NC( ,  jr c , jr nc , and I
think jp c and jp nc are also commands.


PCoMP
Visit Maximus Productions home page at: http://www.ntsource.com/~pcomp


References: