def read_bit(self, bit_num, address):
value = self.read(address)<EOL>bit_mask = get_bit_mask(bit_num)<EOL>return <NUM_LIT:1> if value & bit_mask else <NUM_LIT:0><EOL>
Returns the bit specified from the address.

        :param bit_num: The bit number to read from.
        :type bit_num: int
        :param address: The address to read from.
        :type address: int
        :returns: int -- the bit value from the address