reg forwarding, branching, and memory in 4 stage pipeline