<<< Logical Instructions | Index | Shift Instructions >>> |
Example of testing the value in AL for odd/even number:
test al, 01h ; test the least significant bit je even_number odd_number: ; process odd number .. jmp next even_number: ; process even number .. next:
<<< Logical Instructions | Index | Shift Instructions >>> |