The length of the object that stores a signed integer can be increased (i.e. the object
size can be increased). This operation is known as ‘sign extension’. The extra bits that
are allocated for the larger object, are meaningful to the value of the signed integer.
They must therefore be set to the appropriate value. The value for all these extra bits
is in fact the same as the value of the most significant bit - i.e. the sign bit - of the
smaller object. The ST20 provides instructions that sign extend byte and half-word to
word, and 32 bits to 64 bits.
19/212
®