Figure 4.3 D950-Core Bit Manipulation Unit
INTERNAL REGISTER
8
MASK
RAM
EXTENSION
16
16
D950-Core
BIT MANIPULATION
UNIT
Processed Data
TST
VR02017D
This 8-bit mask is extended to a 16-bit mask in three ways:
• 8-bit value on MSBs, 0x00 on LSBs,
• 0x00 on MSBs, 8-bit value on LSBs,
• 8-bit value on MSBs, 8-bit value on LSBs. (In this case, the mask value is the
same on MSB and LSB.)
For registers with a length less than 16-bit (AIE, BSC, PSC), the signed value data is sign-
extended to a 16-bit signed value data before being tested.
Figure 4.4 Extension of an 8-bit Mask to 16-bit Mask
15
87
0
MASK
0
0
MASK
MASK
Figure 4.5
15
Sign Extension to a 16-bit Signed Value
S
MASK
0
VR02017P
19/89
5