# tst

Compares two values using bitwise AND operator and sets the CMP register.

  • CMP = 1 if x & y == 1
  • CMP = 0 if x & y == 0

# Syntax

tst <x> <y>
# Parameters

# Example

tst r0, r1
tst r2, 8
tst 12, 55

# History

  • 0.1 added