Hi all,
I have a query regarding Z bit in CCR. When the following is performed,
a= 10
b=10
if (a==b), then Z flag should be set to TRUE.
However as soon as the instruction is executed the Z flag is cleared, when any other statements in the code is executed. There are no decision statements which is executed after this.
As I am from a testing background, I expect Z flag to be set to TRUE, until next comparison is performed.
Please help me out on this.
Thanks,
Dharani