Main Content

Test Device Details: Shift right on a signed integer as an arithmetic shift

Implementation of signed integer right shift as arithmetic right shift

Description

App Configuration Pane: Hardware

Configuration Objects: coder.HardwareImplementation

Implementation by the C compiler for the production hardware of a signed integer right shift as an arithmetic right shift.

Settings

On

This value is the default value.

Indicates that the C compiler implements a right shift of a signed integer as an arithmetic right shift. An arithmetic right shift fills the bit vacated by the right shift with the value of the most significant bit. The most significant bit indicates the sign of the number.

Off

Indicates that the C compiler does not implement a right shift of a signed integer as an arithmetic right shift.

Programmatic Use

Property: TargetShiftRightIntArith
Values: true | false
Default: true

Version History

Introduced in R2011a