Assembly Language for Beginners

(Jeff_L) #1

1.22. MANIPULATING SPECIFIC BIT(S)


ANDsetsZFto 1, which implies that the input value (0x12345678) ANDed with 2 results in 0:


Figure 1.100:OllyDbg:i= 1, is there that bit in the input value? No. (ZF=1)

So, there is no corresponding bit in the input value.


The piece of code, whichincrementsthe counter is not to be executed: theJZinstructionbypassingit.

Free download pdf