<<< INC and DEC Instructions, Cont. | Index | CLC, STC, CMC - Direct Carry Flag Manipulation >>> |
xor al, al ; Sets AL = 0. XOR instruction always clears OF and CF flags. mov bl, 0FEh inc bl ; 0FFh SF = 1, CF flag not affected. inc bl ; 000h SF = 0, ZF = 1, CF flag not affected.
<<< INC and DEC Instructions, Cont. | Index | CLC, STC, CMC - Direct Carry Flag Manipulation >>> |