basic framework for branching
using ALU in bne and beq