Trait juicebox_asm::insn::Test

source ·
pub trait Test<T, U> {
    // Required method
    fn test(&mut self, op1: T, op2: U);
}
Expand description

Trait for test instruction kinds.

Required Methods§

source

fn test(&mut self, op1: T, op2: U)

Emit a logical compare instruction.

Computes the bit-wise logical AND of first operand and the second operand and sets the SF, ZF, and PF status flags, the result is discarded.

Implementors§