TSK3000A Generic Instruction - XOR

Frozen Content

Instruction:    Bitwise Logical Exclusive OR

Assembler Format
Example
Translates to...

xor rC, rB

xor $3, $4

xor rC, rC, rB (with rA = rC)

xor rC, rA, IMM32

xor $3, $2, 0x12345678

see note 2

xor rC, IMM32 (see note 1)

xor $3, 0x12345678

see note 2

Notes

  1. This format can also be written as: xor rC, rC, IMM32 (with rA = rC)
     
  2. If the signed IMM32 operand fits into an unsigned 16-bit operand, then these two macro formats translate into single XORI machine instructions:
     

    xor rC, rA, IMM32

    translates to.....

    xori rC, rA, IMM16

    xor rC, IMM32

    translates to.....

    xori rC, rC, IMM16 (with rA = rC)

     
    If the IMM32 operand does not fit, or has an unknown value, then these two macro formats translate to:
     
    li $at, IMM32
    xor rC, rA, $at
You are reporting an issue with the following selected text and/or image within the active document: