Logical Instructions

Learn about the different logic instructions and how they work.

Instruction format

We have seen that most assembly language instructions have a uniform format, for example:

Press + to interact
Opcode operand
Opcode destination_operand, source_operand
Opcode destination_operand, source_operand1, source_operand2

Only the str-family of instructions has followed the below-mentioned format:

Press + to interact
Opcode source_operand, destination_operand

Operands can be:

  • Registers (reg)
  • Memory labels (mem)
...