use crate::stack::StackVec; pub fn xor(memory: &mut StackVec) { let a: bool = memory.pop() == 1; let b: bool = memory.pop() == 1; let c: u16 = if !a != !b { 1 } else { 0 }; memory.push(c); }