def new_encoding(self, f=sys.stdout):
    if ((self.reg <= UINT4_MAX) and (self.imm > INT4_MAX) and (self.imm <= (INT4_MAX + UINT4_MAX))):
        f.write('"const/16" could be encoded as a new "const/u4" stores ')
        f.write('a 4 bit unsigned offset from +8 for a constant range ')
        f.write('of [8-24):\n')
        return 2
    return 0
def new_encoding(self, f=sys.stdout):
    if ((self.reg <= UINT4_MAX) and (self.imm > INT4_MAX) and (self.imm <= (INT4_MAX + UINT4_MAX))):
        f.write('"const/16" could be encoded as a new "const/u4" stores ')
        f.write('a 4 bit unsigned offset from +8 for a constant range ')
        f.write('of [8-24):\n')
        return 2
    return 0