code: def get_registers(self, cpu_id):
          
          if not isinstance(cpu_id, baseinteger):
              raise TypeError("cpu_id can only be an instance of type baseinteger")
          (names, values) = self._call("getRegisters",
                       in_p=[cpu_id])
          return (names, values)
docs: Gets all the registers for the given CPU.
  
          in cpu_id of type int
              The identifier of the Virtual CPU.
  
          out names of type str
              Array containing the lowercase register names.
  
          out values of type str
              Array parallel to the names holding the register values as if the
              register was returned by :py:func:`IMachineDebugger.get_register` .