2つのデータ項目のビット間の論理暗示(IMPLIES)を行う。
call "CBL_IMP" using source target by value length
呼び出しプロトタイプ使用時 ( 説明の読み方) | PIC (32bitシステム) | |
---|---|---|
source | cblt-x1-compx | Any data item. |
target | cblt-x1-compx | Any data item. |
length | cblt-os-size | Numeric literal or pic x(4) comp-5. |
source | 暗示(IMPLIES)をとるデータ項目の内の1つ |
target | 暗示(IMPLIES)をとるもう一方のデータ項目 |
length | 暗示(IMPLIES)をとろうとする源と目標のバイト数。この長さを越えたtarget内の位置については変更はない。 |
target | 結果 |
本ルーチンはsourceとtargetの左端から開始し、それらのビットの暗示(IMPLIES)をとり、結果をtargetに格納する。これの真理値表は次の通り。
source | target | result |
---|---|---|
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 0 |
1 | 1 | 1 |