Instructions-II

Learn about logical comparison with TST, comparison of two operands with CMP, and comparison between TST and CMP.

Logical compare: TST

This instruction computes the bit-wise logical AND between both operands and sets flags (including Z) according to the computed result, which is discarded.

Get hands-on with 1400+ tech skills courses.