<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_pattern_additional_cycles(self, patternnumber):
 """Get the number of additional cycles for a given pattern. Args: patternnumber (integer):
 0-7 Returns: The number of additional cycles (int). """

        _checkPatternNumber(patternnumber)

        address = _calculateRegisterAddress('cycles', patternnumber)
        return self.read_register(address)