Exemplo n.º 1
0
 def to_regint(self, dest=None):
     if dest is None:
         dest = regint()
     if self.n > 64:
         raise CompilerError('too many bits')
     inst.convcbit(dest, self)
     return dest
Exemplo n.º 2
0
 def to_regint(self, dest):
     if self.n > 64:
         raise CompilerError('too many bits')
     inst.convcbit(dest, self)