Specifications

Table Of Contents
8–102 Altera Corporation
Nios II Processor Reference Handbook October 2007
xorhi
xorhi
bitwise logical exclusive or immediate into high halfword
Operation:
rB
rA ^ (IMM16 : 0x0000)
Assembler Syntax:
xorhi rB, rA, IMM16
Example:
xorhi r6, r7, 100
Description: Calculates the bitwise logical exclusive XOR of rA and (IMM16 : 0x0000) and stores
the result in rB.
Instruction Type: I
Instruction Fields: A = Register index of operand rA
B = Register index of operand rB
IMM16 = 16-bit unsigned immediate value
313029282726252423222120191817161514131211109876543210
A B IMM16 0x3c