def __s1_9__(self):
        """Fetch an 11 bit real argument."""
        arg = self.__expression__()
        if type(arg) is int:
            if arg < 0 or arg > M11:
                if self.doclamp:
                    if arg < 0:
                        arg = 0
                    elif arg > M11:
                        arg = M11
                    self.parsewarn('S1.9 arg clamped to ' + hex(arg),
                                   self.prevline)
                else:
                    self.parseerror('Invalid S1.9 arg ' + hex(arg),
                                    self.prevline)
        else:
            if arg < MIN_S1_9 or arg > MAX_S1_9:
                if self.doclamp:
                    if arg < MIN_S1_9:
                        arg = MIN_S1_9
                    elif arg > MAX_S1_9:
                        arg = MAX_S1_9
                    self.parsewarn('S1.9 arg clamped to ' + repr(arg),
                                   self.prevline)
                else:
                    self.parseerror('Invalid S1.9 arg ' + repr(arg),
                                    self.prevline)
            arg = int(arg * SZ_S1_9)
        return arg
def __s1_9__ ( self ) : arg = self . __expression__ ( ) if type ( arg ) is int : if arg < 0 or arg > M11 : if self . doclamp : if arg < 0 : arg = 0 elif arg > M11 : arg = M11 self . parsewarn ( 'S1.9 arg clamped to ' + hex ( arg ) , self . prevline ) else : self . parseerror ( 'Invalid S1.9 arg ' + hex ( arg ) , self . prevline ) else : if arg < MIN_S1_9 or arg > MAX_S1_9 : if self . doclamp : if arg < MIN_S1_9 : arg = MIN_S1_9 elif arg > MAX_S1_9 : arg = MAX_S1_9 self . parsewarn ( 'S1.9 arg clamped to ' + repr ( arg ) , self . prevline ) else : self . parseerror ( 'Invalid S1.9 arg ' + repr ( arg ) , self . prevline ) arg = int ( arg * SZ_S1_9 ) return arg
Fetch an 11 bit real argument.