TSK3000A Generic Instruction - SNE
Frozen Content
Instruction: Set On Not Equal To
Assembler Format | Example | Translates to... |
---|---|---|
sne rC, rA, rB | sne $3, $4, $5 | xor rC, rA, rB |
sne rC, rA, IMM32 | sne $3, $4, 0x12345678 | li $at, IMM32 |
Notes
If IMM32 is in the range 0 to 216 - 1 (i.e. from 0000_0000h
to 0000_FFFFh
) then the second macro format translates to:
xori rC, rA, IMM32
sltu rC, $0, rC