Implementation of SIGNEXTEND opcode