


imm8
Any logical operation can by specified by the following steps:
1. Make a logical expression using (1) (2) (3).
2. Assign (1) = F0, (2) = CC, (3) = AA, and calculate the expression to get a 8-bit result.
3. Specify the result of 2 for imm8.
Or make a table like below to find 8-bit to specify for imm8.
| binary | ||||||||
|---|---|---|---|---|---|---|---|---|
| (1) = F0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
| (2) = CC | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
| (3) = AA | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 |
| resulting 8-bit imm8 | ||||||||
Or use VPTERNLOGx imm8 Calculator