The Decode to Set Bit instruction (DECO) will set the bit at the specified
Bit Position Value ON, and all of the other bits will be set OFF. For example, for a Bit Position Value of 12, the Decode to Set Bit instruction
would output the following bit string: 0000 0000 0000 0000 0001 0000 0000
0000. This instruction can only operate on Bit Position Values in the range
of 0-31 (0-0x1F). If the Bit Position Value is greater than 31, the Output
Bit Pattern will be 0 and the $OutOfRange (ST132) will be ON.
|