def set_from_bits(self, value: int):
if self.signed:<EOL><INDENT>value = -(value & self.tcmask) + (value & ~self.tcmask)<EOL><DEDENT>self.set(value)<EOL>
Set the immediate value from machine code bits. Those are not sign extended, so it will take care of the
proper handling.

:param value: Value to set the immediate to
:type value: int