def instruction_ANDCC(self, opcode, m, register):
        """
        Performs a logical AND between the condition code register and the
        immediate byte specified in the instruction and places the result in the
        condition code register.

        source code forms: ANDCC #xx

        CC bits "HNZVC": ddddd
        """
        assert register == self.cc_register

        old_cc = self.get_cc_value()
        new_cc = old_cc & m
        self.set_cc(new_cc)
def instruction_ANDCC ( self , opcode , m , register ) : assert register == self . cc_register old_cc = self . get_cc_value ( ) new_cc = old_cc & m self . set_cc ( new_cc )
Performs a logical AND between the condition code register and the
        immediate byte specified in the instruction and places the result in the
        condition code register.

        source code forms: ANDCC #xx

        CC bits "HNZVC": ddddd