Got two-direction opcodes working