SETAB

Opcode Format Mnemonic Description
111DVVVV SETAB The SETAB mnemonic is used to set the A or B ALU input register to the specified 4-bit immediate value.

 

Bits Description
D Destination Register.

  • 0: ALU Input Register A
  • 1: ALU Input Register B
VVVV The 4-bit long immediate value.

 
The following animation shows how the SETAB opcode is executed physically on the CPU.

Downloads (licensed under CC BY-NC 3.0):