public void Execute_WithBranch()
        {
            reg[1] = 0;
            target = new BeqInstruction(1, 0, 0x0002);

            target.Execute(ref pc, mem, reg);

            Assert.AreEqual(0x0000000C, pc);
        }
        public void Execute_NoBranch()
        {
            reg[1] = 1;
            target = new BeqInstruction(1, 0, 0xFFFF);

            target.Execute(ref pc, mem, reg);

            Assert.AreEqual(0x00000004, pc);
        }