1. No Operation Command not
Not OPRD
Reverse the OPRD and send it back to OPRD.
No effect on flag Spaces
2. Operation commands and [and]
And oprd1, oprd2
Oprd1 and oprd2 are executed and the result is sent to oprd1
After execution, cf = of = 0 indicates PF, ZF, and SF indicate the calculation result. AF is not defined.
A specific operand and Its Value remain unchanged, so that the carry mark cf = 0
3. or operation instructions or [or]
Or oprd1 oprd2
Flags are the same as operation commands.
An operand itself or, the value remains unchanged, so that the carry mark cf = 0
4. Exclusive or operation commands XOR [exclusive or]
XOR oprd1 oprd2
Flags are the same as operation commands.
A specific operand exclusive or with a value unchanged. The carry mark cf = 0
It is the same as 0 or. It is the same as 1 or the opposite.
5. Test command
Test oprd1 oprd2
The command is similar to and, but the result is not sent back.
After the command is executed, ZF, PF, and SF reflect the calculation result. cf = of = 0