SEXT (Sign Extend To 32-bits) Option

Sign extend to 32-bits (SEXT)

SEXT
Selected

This replicates one of bits 7 to 22 of an integral value into all high order bits of the 32 bit integer. The compiler must perform sign extension whenever converting values of type int into variables of type short or signed char. Since the semantics of C and C++ frequently promote short or char types into ints, the compiler frequently has to sign extend when you use short or char variables.