def new_encoding(self, f=sys.stdout):
    if ((self.imm > INT16_MAX) and (self.imm <= (INT16_MAX + UINT16_MAX))):
        f.write('"const" could be encoded as a new "const/u16" stores a ')
        f.write('16 bit unsigned offset from 32768 instead of a 16 bit ')
        f.write('signed value\n')
        return 2
    return 0
def new_encoding(self, f=sys.stdout):
    if ((self.imm > INT16_MAX) and (self.imm <= (INT16_MAX + UINT16_MAX))):
        f.write('"const" could be encoded as a new "const/u16" stores a ')
        f.write('16 bit unsigned offset from 32768 instead of a 16 bit ')
        f.write('signed value\n')
        return 2
    return 0