Logical group:
This group of instructions perform logical (Boolean) operations on data in registers and memory and on condition flags.
All instructions in this group affect the Zero, Sign, Parity, Auxiliary carry and carry flags according to the standard rules.
Operation |
Operation Performed
|
Op-code |
ANA r
( AND Register)
|

|
1 0 1 0 0 S S S |
ANA M
( AND memory)
|

|
1 0 1 0 0 1 1 D |
ANI data
( AND immediate)
|

|
1 1 1 0 0 1 1 0
(data)
|
XRA r
(Exclusive OR Register)
|

|
1 0 1 0 1 S S S |
XRA M
(Exclusive OR memory) |

|
1 0 1 0 1 1 1 0 |
|